[icinga-checkins] icinga.org: icinga-core/mfriedrich/core: enable compiler flag -Wall by default (base/cgi/common/idoutils)

git at icinga.org git at icinga.org
Wed May 12 23:06:36 CEST 2010


Module: icinga-core
Branch: mfriedrich/core
Commit: b31bedaf843804b657e31c537edc378fbd28dfab
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=b31bedaf843804b657e31c537edc378fbd28dfab

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed May 12 23:06:16 2010 +0200

enable compiler flag -Wall by default (base/cgi/common/idoutils)

fixes #425

---

 Changelog                       |    1 +
 base/Makefile.in                |    2 +-
 cgi/Makefile.in                 |    2 +-
 common/Makefile.in              |    2 +-
 module/Makefile.in              |    2 +-
 module/idoutils/src/Makefile.in |    2 +-
 6 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/Changelog b/Changelog
index 36e60d5..51df230 100644
--- a/Changelog
+++ b/Changelog
@@ -43,6 +43,7 @@ FIXES
 * core: remove grab_contactgroup_macros() and its prototype (Andreas Ericsson)
 * core: base/commands.c: Fix error path of opening checkresult files (Andreas Ericsson)
 * core: base/nebmods.c: Replace local file-copy hack with my_fcopy() (Andreas Ericsson)
+* core: enable compiler flag -Wall by default (base/cgi/common/idoutils)
 
 * idoutils: Host DB inserts use string 'NULL\n' instead of NULL (William Preston)
 * idoutils: ndo2db_get_object_id fails to return existing IDs (William Preston)
diff --git a/base/Makefile.in b/base/Makefile.in
index 644417c..b7cbaa3 100644
--- a/base/Makefile.in
+++ b/base/Makefile.in
@@ -11,7 +11,7 @@ SRC_INCLUDE=../include
 SRC_XDATA=../xdata
 
 CC=@CC@
-CFLAGS=@CFLAGS@ @DEFS@ -DNSCORE
+CFLAGS=-Wall @CFLAGS@ @DEFS@ -DNSCORE
 
 # Compiler flags for use with gprof
 #CFLAGS=-pg -DHAVE_CONFIG_H -DNSCORE
diff --git a/cgi/Makefile.in b/cgi/Makefile.in
index 16d0a51..40cdb82 100644
--- a/cgi/Makefile.in
+++ b/cgi/Makefile.in
@@ -26,7 +26,7 @@ CGIEXTRAS=@CGIEXTRAS@
 
 CP=@CP@
 CC=@CC@
-CFLAGS=@CFLAGS@ @DEFS@ -DNSCGI
+CFLAGS=-Wall @CFLAGS@ @DEFS@ -DNSCGI
 
 # Compiler flags for optimization (overrides default)
 #CFLAGS=-O3 -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -DHAVE_CONFIG_H -DNSCGI
diff --git a/common/Makefile.in b/common/Makefile.in
index 16f66bd..f789d88 100644
--- a/common/Makefile.in
+++ b/common/Makefile.in
@@ -9,7 +9,7 @@ SRC_BASE=../common
 SRC_CGI=../cgi
 
 CC=@CC@
-CFLAGS=@CFLAGS@ @DEFS@
+CFLAGS=-Wall @CFLAGS@ @DEFS@
 LDFLAGS=@LDFLAGS@ @LIBS@
 
 prefix=@prefix@
diff --git a/module/Makefile.in b/module/Makefile.in
index a0eb7c5..698b290 100644
--- a/module/Makefile.in
+++ b/module/Makefile.in
@@ -10,7 +10,7 @@ SRC_INCLUDE=../include
 
 CC=@CC@
 MOD_CFLAGS=@MOD_CFLAGS@
-CFLAGS=@CFLAGS@ @DEFS@
+CFLAGS=-Wall @CFLAGS@ @DEFS@
 MOD_LDFLAGS=@MOD_LDFLAGS@
 LDFLAGS=@LDFLAGS@
 LIBS=@LIBS@
diff --git a/module/idoutils/src/Makefile.in b/module/idoutils/src/Makefile.in
index 89852a4..3161805 100644
--- a/module/idoutils/src/Makefile.in
+++ b/module/idoutils/src/Makefile.in
@@ -21,7 +21,7 @@ INSTALL_OPTS=@INSTALL_OPTS@
 
 CC=@CC@
 
-CFLAGS=@CFLAGS@ @DEFS@ 
+CFLAGS=-Wall @CFLAGS@ @DEFS@ 
 
 # We don't like ANSI because ANSI doesn't like us! phhht!
 #CFLAGS=-g -Wall -ansi -pedantic -DHAVE_CONFIG_H





More information about the icinga-checkins mailing list