[Bug libstdc++/100384] Compiling in c++17 mode breaks compilation of functions named visit()

2021-05-03 Thread aacid at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100384 --- Comment #2 from Albert Astals Cid --- People that know more C++ than me, told me std::visit appears unconstrained to Variants...&& being actual std::variants (in case you inherited one, I guess), so std::visit, as an unconstrained perfect f

[Bug c++/100384] Compiling in c++17 mode breaks compilation of functions named visit()

2021-05-02 Thread aacid at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100384 --- Comment #1 from Albert Astals Cid --- Created attachment 50734 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50734&action=edit error log

[Bug c++/100384] New: Compiling in c++17 mode breaks compilation of functions named visit()

2021-05-02 Thread aacid at kde dot org via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: aacid at kde dot org Target Milestone: --- Created attachment 50733 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50733&action=edit main.cpp The attached code f

[Bug c++/91187] Is it possible to make -Wzero-as-null-pointer-constant learn about extern "C"?

2019-07-17 Thread aacid at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91187 --- Comment #6 from Albert Astals Cid --- Created attachment 46609 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46609&action=edit the said main-glib.cpp file well the line has to be g++ -c -Wzero-as-null-pointer-constant main-glib.cpp -i

[Bug c++/91187] Is it possible to make -Wzero-as-null-pointer-constant learn about extern "C"?

2019-07-17 Thread aacid at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91187 --- Comment #5 from Albert Astals Cid --- (In reply to Harald van Dijk from comment #3) > If the header files cannot be modified, the -isystem command-line option > also causes included files to be treated as system headers where warnings > are s

[Bug c++/91187] Is it possible to make -Wzero-as-null-pointer-constant learn about extern "C"?

2019-07-16 Thread aacid at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91187 --- Comment #1 from Albert Astals Cid --- This is with gcc version 9.1.0

[Bug c++/91187] New: Is it possible to make -Wzero-as-null-pointer-constant learn about extern "C"?

2019-07-16 Thread aacid at kde dot org
NCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: aacid at kde dot org Target Milestone: --- This is more a wish than a bug report, sorry if this is not the proper place to talk about this. It also co