diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-09 13:37:57 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-08-09 13:37:57 +0000 |
commit | cbf702f51f839af5a8e9c66bdae7d6a3dc363ace (patch) | |
tree | a72d07f7e08d4685d40273b50278929c455e7fa6 /tools | |
parent | 90b45deb4138efb47efbdd98a4aede1aebb47146 (diff) | |
download | monitoring-plugins-cbf702f51f839af5a8e9c66bdae7d6a3dc363ace.tar.gz |
a little shell script to make it a little easier to produce pedantic compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@675 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/devmode | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/devmode b/tools/devmode new file mode 100755 index 00000000..d350e6c6 --- /dev/null +++ b/tools/devmode | |||
@@ -0,0 +1,3 @@ | |||
1 | echo \# do \"eval \`$0\`\" to get pedantic compiler settings | ||
2 | echo | ||
3 | echo export CFLAGS=\"-g -O3 -pedantic -Wall -W -Wformat=2 -Wfloat-equal -Wtraditional -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-noreturn -Wmissing-format-attribute -Wnested-externs -Wunreachable-code -Winline\" | ||