[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



On Sun, Dec 30, 2001 at 10:26:39AM +0100, Martin v. Loewis wrote:

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

As far as I can tell, yes, it would.  And I would be relieved to see it
fixed.

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

It would help to know why this was done in the first place; there could be
other reasons.

-- 
 - mdz



Reply to: