[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-09-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 --- Comment #32 from Jonathan Wakely --- Nice analysis. Personally I dislike when you get different results from separate preprocessing, but I don't know if it should be considered a bug.

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-09-05 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 --- Comment #31 from Harald van Dijk --- (In reply to Jonathan Wakely from comment #30) > I'm curious why the preprocessed code in comment 28 doesn't warn, This was still bugging me, so I looked into it a little bit, and since I had trouble

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-09-02 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 --- Comment #29 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f049cda373d29ea1bce4065b24cbb392cdc5b172 commit r11-2985-gf049cda373d29ea1bce4065b24cbb392cdc5b172 Author: Jonathan Wakely

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 Jonathan Wakely changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org ---

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 --- Comment #27 from Jonathan Wakely --- The original testcase gets a warning even for -std=c++98 now, thanks to dmalcolm's r268589 (included in GCC 9.1).

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-09-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 --- Comment #26 from Jonathan Wakely --- (In reply to Manuel López-Ibáñez from comment #22) > My point is that the fix cannot be only limited to tweaking stdbool.h, as > long as any C++ mode still defines false as a macro. As I said in comment

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2020-01-06 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2016-01-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 --- Comment #24 from Jonathan Wakely --- (In reply to Martin Sebor from comment #23) > What doesn't work correctly is including in the test case and > compiling it in C++ 98 mode. The test case below shows there's still no > warning there.

[Bug c++/60304] Including disables -Wconversion-null in C++ 98 mode

2016-01-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60304 Martin Sebor changed: What|Removed |Added Last reconfirmed|2014-10-06 00:00:00 |2016-1-4 CC|