getopt.h vs java lossage

Jeffrey A Law law@cygnus.com
Fri Sep 11 02:47:00 GMT 1998


  > > But long term someone needs to fix gnu getopt and all the code
  > > that depends on those bogus #defines.
  > 
  > The change will be to protect the definitions of struct option, the
  > *_argument macros, and the extra prototypes using
  > 
  > 	#ifdef _GNU_SOURCE
  > 
  > 
  > If every program which relies on the extensions uses as suggested
  > -D_GNU_SOURCE there should not be any problem.
Sounds like the right way to go.

In any event, java should be happier now that I've checked in a fix
to avoid the problem #defines :-)

Jeff



More information about the Gcc mailing list