[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2028] nagiosplug/trunk/tools/devmode

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Tue Aug 5 13:14:40 CEST 2008


Revision: 2028
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2028&view=rev
Author:   dermoth
Date:     2008-08-05 11:14:40 +0000 (Tue, 05 Aug 2008)

Log Message:
-----------
Set -D_FORTIFY_SOURCE=2, and added a comment with link to explaination of this flag.

Modified Paths:
--------------
    nagiosplug/trunk/tools/devmode

Modified: nagiosplug/trunk/tools/devmode
===================================================================
--- nagiosplug/trunk/tools/devmode	2008-07-28 20:15:52 UTC (rev 2027)
+++ nagiosplug/trunk/tools/devmode	2008-08-05 11:14:40 UTC (rev 2028)
@@ -1,2 +1,3 @@
 # do "eval tools/devmode" to get pedantic compiler settings
-echo export CFLAGS=\"-g -O3 -D_FORTIFY_SOURCE -pedantic -Wall -W -Wformat=2 -Wfloat-equal -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\"
+# Info about -D_FORTIFY_SOURCE: http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html
+echo export CFLAGS=\"-g -O3 -D_FORTIFY_SOURCE=2 -pedantic -Wall -W -Wformat=2 -Wfloat-equal -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\"


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list