[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch for picky C++ compilers and a buggy flex
From: |
Paul Eggert |
Subject: |
patch for picky C++ compilers and a buggy flex |
Date: |
Wed, 08 Feb 2006 11:28:26 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
I installed this to work around a bogus diagnostic generated by Sun
C++ 5.7 on Solaris 10. The real bug is in flex, and it's one we've
seen before.
2006-02-08 Paul Eggert <address@hidden>
More portability fixes for problems summarized by Nelson H. F. Beebe.
* doc/bison.texinfo (Calc++ Scanner): Work around a bug in flex
2.5.31. This resembles the 2005-10-10 patch to src/scan-skel.l.
--- doc/bison.texinfo 30 Jan 2006 11:15:15 -0000 1.175
+++ doc/bison.texinfo 8 Feb 2006 19:22:55 -0000
@@ -7571,6 +7571,10 @@ parser's to get the set of defined token
# include <string>
# include "calc++-driver.hh"
# include "calc++-parser.hh"
+/* Work around a bug in flex 2.5.31. See Debian bug 333231
+ <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=333231>. */
+# undef yywrap
+# define yywrap() 1
address@hidden
@end example
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- patch for picky C++ compilers and a buggy flex,
Paul Eggert <=