Possible bug in egcs-1.1b?

Philip Blundell philb@gnu.org
Mon Sep 28 15:50:00 GMT 1998


>There was a significant change in 2.0.96(not sure if it existed in prior
>versions) that means that you have to define _GNU_SOURCE yourself so that
>the getopt.h include file will define the struct option for getopt_long().

Yes, this was deliberate.  It's not allowed for getopt.h to pollute the 
namespace unless you explicitly ask for it.

p.






More information about the Gcc mailing list