[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 Mon, Dec 31, 2001 at 10:47:50AM +0100, Martin v. Loewis wrote:
> > possibly include a glibc header, otherwise certain C++ programs will
> > simply fail out of the box.
> 
> I don't believe that this is true.
[...]
> >     http://gcc.gnu.org/ml/libstdc++/2000-12/msg00215.html

Well, there's my example.  :-)


> The code in question reads
> 
> # if _GLIBCPP_HAVE_LLDIV_T
>   typedef lldiv_t  _CPP_lldiv_t_capture;
> # endif
> 
> Now, the problem is that _GLIBCPP_HAVE_LLDIV_T is always defined.

You are aware that this code is currently unused by default, and unused
by Debian, right?  Only one of {c,c_std,c_shadow} is used.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



Reply to: