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]

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


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
--

Attachment: patch.txt
Description: Text document


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