bin/61498: [patch] Please MFC flex patch for gcc 3.x
Sergii Laskavyi
ls+FreeBSD-gnats-submit9210a2d9 at gambit.com.ru
Sat Jan 17 13:30:21 PST 2004
>Number: 61498
>Category: bin
>Synopsis: [patch] Please MFC flex patch for gcc 3.x
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 17 13:30:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Sergii Laskavyi
>Release: FreeBSD 4.9-STABLE i386
>Organization:
Flex Ltd.
>Environment:
System: FreeBSD 4.9-STABLE i386 (OM-MANI-PADME-HUM) #0: Sat Jan 17 01:50:24 MSK 2004
>Description:
Flex isn't compatible with gcc 3.x. This is already fixed in -CURRENT.
>How-To-Repeat:
Install gcc 3.x and try to use flex.
>Fix:
--- src/usr.bin/lex/flex.skl Wed Oct 27 11:56:44 1999
+++ src/usr.bin/lex/flex.skl Thu Jan 15 16:42:05 2004
@@ -26,7 +26,8 @@
#include <stdlib.h>
%+
-class istream;
+#include <iosfwd>
+using namespace std;
%*
#include <unistd.h>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list