This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] Handle different versions of Solaris 8 <iso/math_iso.h>, <iso/stdlib_iso.h>
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Fri, 26 Aug 2011 14:59:27 +0200
- Subject: Re: [v3] Handle different versions of Solaris 8 <iso/math_iso.h>, <iso/stdlib_iso.h>
- References: <yddmxewpcgu.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <4E579823.40105@oracle.com>
Hi 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 think it's best to match this to avoid
strange problems if a user plays strange games with __cplusplus.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University