This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [fixincludes] solaris_pow_int_overload should use __cplusplus
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Bruce Korb <bkorb at gnu dot org>, libstdc++ at gcc dot gnu dot org
- Date: Thu, 16 May 2013 09:39:01 -0500
- Subject: Re: [fixincludes] solaris_pow_int_overload should use __cplusplus
- References: <yddvc6jxcry dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE>
On Thu, May 16, 2013 at 8:41 AM, Rainer Orth
<ro@cebitec.uni-bielefeld.de> wrote:
> Work is going on to incorporate all applicable fixincludes fixes into
> the Solaris headers proper. One fix is currently problematic since it
> uses an G++-internal macro (__GXX_EXPERIMENTAL_CXX0X__) where libstdc++
> <cmath> already switched to testing __cplusplus. The following patch
> updates the fix to match <cmath>.
>
> Tested by mainline bootstraps on i386-pc-solaris2.11,
> sparc-sun-solaris2.11 and 4.8 bootstrap on i386-pc-solaris2.10.
>
> Ok for mainline and 4.8 branch if they pass?
>
> Thanks.
> Rainer
Ok with me if it is OK with Bruce.
>
>
> 2013-05-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
>
> * inclhack.def (solaris_pow_int_overload): Update comment.
> Change guard to match <cmath>.
> * fixincl.x: Regenerate.
> * tests/base/iso/math_iso.h [SOLARIS_POW_INT_OVERLOAD_CHECK]:
> Matching change.
>
>
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
>