Actions
Feature #1040
closedSuricata should compile with -Werror
Effort:
Difficulty:
Label:
Description
I would like to see Suricata add -Werror for CFLAGS by default. It prevents masking bugs by ignoring compiler warnings.
Actions
Added by Ken Steele almost 12 years ago. Updated almost 12 years ago.
Description
I would like to see Suricata add -Werror for CFLAGS by default. It prevents masking bugs by ignoring compiler warnings.
Pull Request 636 fixed compiler warnings on Tile.
Pull request 642 will fix warning with -Werror when configuring with libprelude.
After that change, CFLAGS="-Werror" ./configure will work. The only remaining step is to enable -Werror by default, or by default after a specific version of GCC (4.4?)
I've setup my QA gear to use this. Don't think it's safe yet to force this through configure.