r15259 - in software/ui: debian src
Petter Reinholdtsen
pere at moszumanska.debian.org
Sun Oct 5 06:32:08 UTC 2014
Author: pere
Date: 2014-10-05 06:32:08 +0000 (Sun, 05 Oct 2014)
New Revision: 15259
Modified:
software/ui/debian/changelog
software/ui/src/Makefile.am
Log:
Add more compiler warning flags by default.
Modified: software/ui/debian/changelog
===================================================================
--- software/ui/debian/changelog 2014-10-05 06:22:51 UTC (rev 15258)
+++ software/ui/debian/changelog 2014-10-05 06:32:08 UTC (rev 15259)
@@ -6,6 +6,7 @@
building the debian package, for the automatic build check to work.
* Change package priority from optional to extra, to bring it in line
with the Debian archive settings.
+ * Add more compiler warning flags by default.
-- Petter Reinholdtsen <pere at debian.org> Sun, 05 Oct 2014 06:05:12 +0000
Modified: software/ui/src/Makefile.am
===================================================================
--- software/ui/src/Makefile.am 2014-10-05 06:22:51 UTC (rev 15258)
+++ software/ui/src/Makefile.am 2014-10-05 06:32:08 UTC (rev 15259)
@@ -45,8 +45,19 @@
ui.h ui.cpp: ui.fld
fluid -c -o ui.cpp -h ui.h ui.fld
-INCLUDES = -I.. $(LIBEPT_CFLAGS) `fltk-config --cxxflags --use-images` `curl-config --cflags` -Wall -Werror -ggdb
+WARNFLAGS = \
+ -Wall \
+ -Wextra \
+ -Wcast-align \
+ -Wcast-qual \
+ -Wpointer-arith \
+ -Wreturn-type \
+ -Wmissing-declarations \
+ -Wformat \
+ -Werror=format-security
+INCLUDES = -I.. $(LIBEPT_CFLAGS) `fltk-config --cxxflags --use-images` `curl-config --cflags` $(WARNFLAGS) -ggdb
+
EXTRA_DIST = GamesOptions.h Environment.h Engine.h ui.fld ui.h ui.cpp pkgbrowser.h LICENSE \
Makefile.test CuTest.h CuTest.c CuTest.sh CuTest.txt \
CuTest.example/example.c \
More information about the Pkg-games-commits
mailing list