Code

a little shell script to make it a little easier to produce pedantic compiler warnings
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>
Sat, 9 Aug 2003 13:37:57 +0000 (13:37 +0000)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>
Sat, 9 Aug 2003 13:37:57 +0000 (13:37 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@675 f882894a-f735-0410-b71e-b25c423dba1c

tools/devmode [new file with mode: 0755]

diff --git a/tools/devmode b/tools/devmode
new file mode 100755 (executable)
index 0000000..d350e6c
--- /dev/null
@@ -0,0 +1,3 @@
+echo \# do \"eval \`$0\`\" to get pedantic compiler settings
+echo
+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\"