[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#126703: g++-3.0: <stdio.h> defines _GNU_SOURCE with g++-3.0



> > That would remove the need to define _GNU_SOURCE in the command line.
> 
> There are other related problems, such as #108663.  It seems that
> _GNU_SOURCE is required anyway when using g++-3.0.

Well, I'm proposing to fix the dependency of libstdc++ to require
_GNU_SOURCE (which is passed through the g++ driver, not really on the
command line). If that was done, #108663 would magically fix itself,
too, won't it?

I can't see a reason for libstdc++ requiring _GNU_SOURCE except for
the desire to re-export symbols in std::, for which I would propose a
different strategy.

Regards,
Martin



Reply to: