Feature #1040
closed
Suricata should compile with -Werror
Added by Ken Steele almost 11 years ago.
Updated almost 11 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.
- % Done changed from 0 to 80
- Assignee set to Ken Steele
- % Done changed from 80 to 90
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?)
- Target version set to 2.0beta2
- Target version changed from 2.0beta2 to 2.0rc1
- Status changed from New to Closed
- % Done changed from 90 to 100
I've setup my QA gear to use this. Don't think it's safe yet to force this through configure.
Also available in: Atom
PDF