C++11 explicitly forbids macros for bool, true and false.
authorJonathan Wakely <jwakely@redhat.com>
Fri, 24 Oct 2014 20:56:40 +0000 (21:56 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 24 Oct 2014 20:56:40 +0000 (21:56 +0100)
commitfbee6d3164ed509ebe08222264f352fecf1c9824
treea5bf73d7edf36c2971cea3efb947f4c72e53a4f1
parent229c59193afa304d5f3f214a691e355b3cd89d6d
C++11 explicitly forbids macros for bool, true and false.

gcc:
* ginclude/stdbool.h: Do not define bool, true or false in C++11.

libstdc++-v3:
* testsuite/18_support/headers/cstdbool/macros.cc: New.

From-SVN: r216679
gcc/ChangeLog
gcc/ginclude/stdbool.h
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/18_support/headers/cstdbool/macros.cc [new file with mode: 0644]