[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 Fri, Dec 28, 2001 at 11:33:07AM +0100, Martin v. Loewis wrote:

> > This is evil ;-)
> 
> I agree. It would be better if c++config.h would take compiler and
> library configurations into account. For *-*-linux-gnu, c++config.h
> should contain fragments like
> 
> #ifdef __USE_ISOC99
> #define _GLIBCPP_USE_C99 1
> #endif
> 
> 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.

-- 
 - mdz



Reply to: