|
From: Lomwel, Alexander-v. <ale...@mi...> - 2003-11-28 12:31:23
|
Reinout; has a good approach here. Lets stick to it. The root couse analysis is flawed however. flex creates from the tokeniser files a flex.c file. Herein some defines steer the compilation like YY_NO_UNPUT, and some useless cose is automaticly inserted like the command yy_flex_realloc. (read BUG) These result in compiler warnings, which I sought to surpress, but which cause problems with older versions of flex, which don't seem to have the BUG, but also not know what to do with the define. greetings; Alexander PS Overal conclusion: we live with the warnings. Get rid of #define YY_NO_UNPUT, and the function CatchSillyWarnings(). As MvR already did for the most part. > -----Original Message----- > From: Reinout van Rees [mailto:re...@va...] > Sent: vrijdag 28 november 2003 13:22 > To: pla...@li... > Subject: Re: [Plantool-developer] Flex errors and warnings > > > On Fri, 28 Nov 2003, Maurits van Rees wrote: > > > Lomwel, Alexander-van wrote: > > > Hello Maurits; > > > > > > The lowest flex version I use is: > > > flex version 2.5.4 > > > > > > please upgrade. > > > > I am now updating my Debian system. flex 2.5.31 (which I > now have) is > > the newest I can find... :( > > It would be nice to use debian-stable as a kind of minimum. Upgrading > something like flex beyond what's normally available also means adding > a new gcc, a new libc and basically replacing half your system... > > Unless there is something *really* wrong with the old version or if > something big is missing: make sure it compiles/parses/whatever with > the older version. From what I saw till now it was mostly syntax > errors which the newer one allowed, undefined variables in C for which > the declaration had to be moved upwards, etc. Hardly too > inconveniencing. > > And if something slips through, Maurits (or me) catches it. > > Reinout > > -- > Reinout van Rees - re...@va... > http://vanrees.org/ > "I bet that's a real nice ship now that the rats have left." > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Plantool-developer mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/plantool-developer > Disclaimer Ministerie van Buitenlandse Zaken: De informatie verzonden met dit e-mailbericht is uitsluitend bestemd voor de geadresseerde. Gebruik door onbevoegden, openbaarmaking of vermenigvuldiging is verboden. De afzender is niet aansprakelijk in geval van onjuiste overbrenging van het e-mailbericht en/of bij ontijdige ontvangst daarvan. Disclaimer Ministry of Foreign Affairs of the Netherlands: The information transmitted is intended only for the person or entity to whom or which it is addressed. Unauthorised use, disclosure or copying is strictly prohibited. The sender accepts no liability for the improper transmission of this communication nor for any delay in its receipt. |