[fixincludes] solaris_pow_int_overload should use __cplusplus

Bruce Korb bkorb@gnu.org
Thu May 16 15:21:00 GMT 2013


On 05/16/13 06:41, Rainer Orth 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?

Look good to me.  Thanks.



More information about the Libstdc++ mailing list