https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83468

--- Comment #2 from Hannes Roest <hannesroest at gmx dot ch> ---
> -Wsystem-headers enables the warning.

only when compiling with optimizations on. If you simply use 

"-Wuninitialized -Werror -Wall -Wextra -Wsystem-headers"

then it compiles. Also

"-Wuninitialized -Werror -Wall -Wextra -O3"

compiles whereas

"-Wuninitialized -Werror -Wall -Wextra -O3 -Wsystem-headers"

is the only configuration where it emits the warning.

Reply via email to