[Bug c++/79328] Wshadow and lambda captures

2019-08-02 Thread fwyzard at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79328 Andrea Bocci changed: What|Removed |Added CC||fwyzard at gmail dot com --- Comment #1

[Bug c++/79328] Wshadow and lambda captures

2019-08-02 Thread fwyzard at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79328 --- Comment #2 from Andrea Bocci --- Created attachment 46658 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46658&action=edit simple test case Build with g++-9 test.cc -Wshadow -o test

[Bug libstdc++/55394] Using call_once without -lpthread compiles without warning

2019-07-02 Thread fwyzard at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55394 --- Comment #7 from Andrea Bocci --- The same test program will fail in the same way, if compiled with -flto, even if -pthread is used: $ g++-9 -Wall -Wextra -std=c++17 callonce.cpp -pthread $ ./a.out but $ g++-9 -Wall -Wextra -std=c++17 callo

[Bug middle-end/80922] #pragma diagnostic ignored not honoured with -flto

2024-07-10 Thread fwyzard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80922 Andrea Bocci changed: What|Removed |Added CC||fwyzard at gmail dot com --- Comment #12