[v3 PATCH] Fix bootstrap failure on powerpc-apple-darwin7.9.0

Roger Sayle roger@eyesopen.com
Sat Jul 5 20:17:00 GMT 2008


The issue is the Mac OS X 10.3.9 defines the macro "_T" in its
system headers, which conflicts with a recent usage in the source
file include/std/system_error.  The fix is the same as used elsewhere
in libstdc++v3, to avoid using _T and use the identifier "_Tp"
instead.

Tested on powerpc-apple-darwin7.9.0 where this restores bootstrap.

Ok for mainline?

2008-07-05  Roger Sayle  <roger@eyesopen.com>

        * include/std/system_error (is_error_code_enum): Use identifier
        _Tp instead of _T to avoid conflict with system macro on Darwin.
        (is_error_condition_enum): Likewise.

 Roger
--
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080705/24903c2d/attachment.txt>


More information about the Libstdc++ mailing list