This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: gengtype-lex.l warning


From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>

There is a claim here:
http://gcc.gnu.org/ml/gcc/2007-01/msg00874.html

that flex-2.5.33 produces signed/unsigned warnings, but I don't see that. (It may be that the distribution I use fixed things locally.)

I built vanilla flex 2.5.{33,34,35} on an x86_64-linux-gnu box to see what's the status vs using it in GCC. They all seem to build the gt-*.h files fine, and I don't see any differences in the contents using diff as compared to the system flex.


However all three vanilla versions of flex produce a signed/unsigned warning in gengtype-lex.c. So the system flex on my box has fixed the warning locally.

In addition, versions .33 and .34 still have the missing prototype warnings. The .35 version has those fixed at least.

My conclusion is that we cannot remove the -Wno-error yet, even with the latest version of flex. However if someone needs a feature only available in these later versions, there doesn't seem to be any technical reason to prohibit upgrading the minimum required version of flex required by GCC. They all work fine.

--Kaveh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]