2 ms·
-Wno-foo is turning off those warnings, not turning them on.
by quuxplusone 2y ago
-Wno-foo is turning off those warnings, not turning them on.
- Thorrez 2y agoWow, thanks. The gcc documentation appears to have a problem. It lists -Wreorder as a warning, and says it's enabled by -Wall . It lists -Wno-pessimizing-move as a warning, and says it's enabled by -Wall . I think the documentation should be edited to not list -Wno-pessimizing-move , and instead list -Wpessimizing-move . https://gcc.gnu.org/onlinedocs/gcc-9.1.0/gcc/C_002b_002b-Dialect-Options.html https://gcc.gnu.org/onlinedocs/gcc-9.1.0/gcc/C_002b_002b-Dia...