[Bug c++/103862] Regression: -Wold-style-cast warns about system macros

2021-12-29 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103862 --- Comment #3 from Carlos Galvez --- Interesting, thanks for the quick reply! In case it helps, if I include the header as a regular header, I do get the "note" referring to the system header: # g++-11 -I include -Wold-style-cast main.cpp In f

[Bug c++/103862] Regression: -Wold-style-cast warns about system macros

2021-12-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103862 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #2 from Andrew P

[Bug c++/103862] Regression: -Wold-style-cast warns about system macros

2021-12-29 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103862 --- Comment #1 from Carlos Galvez --- The problem exists also in GCC 9.4.0