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

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
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.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.