Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 615560

Summary: sys-devel/flex-2.6.3-r1: reentrant patch breaks prefix option
Product: Gentoo Linux Reporter: Fabian Groffen <grobian>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED UPSTREAM    
Severity: normal CC: grobian
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabian Groffen gentoo-dev 2017-04-14 16:38:00 UTC
-r1 breaks %option prefix="<...>" in the file, reverting back to 2.6.3 brings back all prefixes (and unbreaks compilation) that looks like this with -r1:

conffile.yy.c:374:9: error: 'yywrap' macro redefined [-Werror,-Wmacro-redefined]
#define yywrap(yyscanner) (/*CONSTCOND*/1)
        ^
conffile.yy.c:49:13: note: previous definition is here
    #define yywrap router_yywrap
            ^

(prefix=router_yy here)
Comment 1 Fabian Groffen gentoo-dev 2017-05-08 10:49:46 UTC
this is fixed in 2.6.4