Category "gcc-warning"

GCC -Wimplicit-fallthrough is not warning when I miss [[fallthrough]]

I am using GCC version 8.3 and have a switch statement: #include <iostream> enum class Type : char { Value1 = 'A', Value2, Value3, Value4

Yacc generated C file sccsid warning supression

I am working on a legacy project that uses yacc - 1.9 20130304. The generated .c files contain the sccsid string (from the skeleton.c): #ifndef lint static cons

How to turn on (literally) ALL of GCC's warnings?

I would like to enable -- literally -- ALL of the warnings that GCC has. (You'd think it would be easy...) You'd think -Wall might do the trick, but nope! Stil