[serf] r1861 committed - * SConstruct: Add -Wmissing-prototypes compiler option in both release...

1 view
Skip to first unread message

se...@googlecode.com

unread,
May 20, 2013, 7:16:51 AM5/20/13
to serf...@googlegroups.com
Revision: 1861
Author: lieven....@gmail.com
Date: Mon May 20 04:16:28 2013
Log: * SConstruct: Add -Wmissing-prototypes compiler option in both
release and debug
builds (just as we already add -Wall to both).

http://code.google.com/p/serf/source/detail?r=1861

Modified:
/trunk/SConstruct

=======================================
--- /trunk/SConstruct Tue May 7 23:56:30 2013
+++ /trunk/SConstruct Mon May 20 04:16:28 2013
@@ -131,9 +131,9 @@
### -Wall is not available on Solaris
ccflags = ['-std=c89', ]
if sys.platform != 'sunos5':
- ccflags.append('-Wall')
+ ccflags.append(['-Wall', '-Wmissing-prototypes'])
if debug:
- ccflags.append(['-g', '-Wmissing-prototypes'])
+ ccflags.append(['-g'])
else:
ccflags.append('-O2')
libs = [ ]
Reply all
Reply to author
Forward
0 new messages