forked from pool/bison
6916ff5c53
gcc7-fix.patch: Add forward declaration to compile with GCC7. OBS-URL: https://build.opensuse.org/request/show/448458 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=48
14 lines
373 B
Diff
14 lines
373 B
Diff
--- /home/marxin/Programming/bison-3.0.4/tests/c++.at 2015-01-20 20:39:51.000000000 +0100
|
|
+++ tests/c++.at 2016-12-14 10:58:00.046437207 +0100
|
|
@@ -197,6 +197,10 @@
|
|
#include <list>
|
|
#include <string>
|
|
typedef std::list<std::string> strings_type;
|
|
+namespace std
|
|
+{
|
|
+ std::ostream& operator<<(std::ostream& o, const strings_type& s);
|
|
+}
|
|
}
|
|
|
|
%code // code for the .cc file
|