This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [fixincludes] solaris_pow_int_overload should use __cplusplus


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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]