This is the mail archive of the gcc@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]

Re: getopt.h vs java lossage




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


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