Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2004 00:27:23 +0300 (MSK)
From:      Sergii Laskavyi <ls+FreeBSD-gnats-submit9210a2d9@gambit.com.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/61498: [patch] Please MFC flex patch for gcc 3.x
Message-ID:  <20040117212723.6F2A21537EF@aum.intranet>
Resent-Message-ID: <200401172130.i0HLUGc7034742@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040117212723.6F2A21537EF>