[v3] Handle different versions of Solaris 8 <iso/math_iso.h>, <iso/stdlib_iso.h>

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Fri Aug 26 14:07:00 GMT 2011


Paolo,

>>>> Ok for mainline if bootstraps pass?
>>> Not a comment strictly about this patch, but why we have things like #if
>>> __cplusplus>= 199711L anywhere? For sure the library is not supposed to be
>>> used together with old C++ front-ends.
>> I thought about this myself, but at least the overloads are only present
>> with __cplusplus>= 199711L.
> I don't understand: isn't __cplusplus now *always* >= 199711L? Or you want
> to protect vs the user undefining __cplusplus and then defining it to a
> different value?!? I don't have the Standard at hand (in theory I'm in

exactly: just g++ -D__cplusplus=1 or something.

> vacation ;), maybe Marc can help, but I don't think it's legal, is it?

No idea.
	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Libstdc++ mailing list