diff options
author | Roger Sayle <roger@eyesopen.com> | 2008-07-06 17:38:08 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2008-07-06 17:38:08 +0000 |
commit | c9faf4654f49b100b597bb3efbc9cd161c92e94f (patch) | |
tree | 55aa644586f07d5ef471f55917756f5f60ee0456 | |
parent | 35cbb299153f4c8e604c000c68b139da156585fd (diff) | |
download | gcc-c9faf4654f49b100b597bb3efbc9cd161c92e94f.zip gcc-c9faf4654f49b100b597bb3efbc9cd161c92e94f.tar.gz gcc-c9faf4654f49b100b597bb3efbc9cd161c92e94f.tar.bz2 |
system_error (is_error_code_enum): Use identifier _Tp instead of _T to avoid conflict with system macro on Darwin.
* 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.
From-SVN: r137529
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/std/system_error | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c12e50c..db08bef 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2008-07-06 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. + 2008-07-05 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/postypes.h: Do not include <stdint.h>. diff --git a/libstdc++-v3/include/std/system_error b/libstdc++-v3/include/std/system_error index 343eb6e..b058581 100644 --- a/libstdc++-v3/include/std/system_error +++ b/libstdc++-v3/include/std/system_error @@ -53,7 +53,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) class system_error; /// is_error_code_enum - template<typename _T> + template<typename _Tp> struct is_error_code_enum : public false_type { }; template<> @@ -61,7 +61,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) : public true_type { }; /// is_error_condition_enum - template<typename _T> + template<typename _Tp> struct is_error_condition_enum : public false_type { }; template<> |