]> gcc.gnu.org Git - gcc.git/commit
re PR c++/52764 (Including <cstdint> after <stdint.h> fails to define limit macros)
authorPaolo Carlini <paolo.carlini@oracle.com>
Sat, 6 Oct 2012 23:06:04 +0000 (23:06 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 6 Oct 2012 23:06:04 +0000 (23:06 +0000)
commita2ca8577e6c88866838fe89c82b8d2c492ad7a59
tree244b72d26d12f547c33a38c2cb79580c6bb8ed17
parent21c278c93069690772a23f9c162eeac0030b10f7
re PR c++/52764 (Including <cstdint> after <stdint.h> fails to define limit macros)

2012-10-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/52764
* ginclude/stdint-wrap.h: In C++11 if __STDC_HOSTED__ define
__STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS.
* ginclude/stdint-gcc.h: In C++11 unconditionally define
limit and constant macros.

/testsuite
2012-10-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/52764
* g++.dg/cpp0x/stdint.C: New.

/libstdc++-v3
2012-10-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/52764
* include/c_global/cstdint: Remove __STDC_LIMIT_MACROS and
__STDC_CONSTANT_MACROS related macros.

From-SVN: r192174
gcc/ChangeLog
gcc/ginclude/stdint-gcc.h
gcc/ginclude/stdint-wrap.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/stdint.C [new file with mode: 0644]
libstdc++-v3/ChangeLog
libstdc++-v3/include/c_global/cstdint
This page took 0.056611 seconds and 5 git commands to generate.