Re: [PATCH] c++: Stop defining true, false and bool as macros in

2020-09-02 Thread Nathan Sidwell
On 9/2/20 3:13 PM, Jonathan Wakely wrote: Since r216679 these macros have only been defined in C++98 mode, rather than all modes. That is permitted as a GNU extension because that header doesn't exist in the C++ standard until C++11, so we can make it do whatever we want for C++98. But as discuss

[PATCH] c++: Stop defining true, false and bool as macros in

2020-09-02 Thread Jonathan Wakely via Gcc-patches
Since r216679 these macros have only been defined in C++98 mode, rather than all modes. That is permitted as a GNU extension because that header doesn't exist in the C++ standard until C++11, so we can make it do whatever we want for C++98. But as discussed in the PR c++/60304 comments, these macro