DEB: also warn uninitialized access when doing debug compile
authorWilfried Goesgens <dothebart@citadel.org>
Sun, 23 Jun 2013 14:35:34 +0000 (16:35 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 23 Jun 2013 14:35:34 +0000 (16:35 +0200)
webcit/debian/rules

index cd0a58efb6ba21143fa8755eec7df37de41fbf46..6b962b28957cd2b3380fc927c566fe153cc7ccad 100755 (executable)
@@ -29,7 +29,7 @@ ifneq (,$(findstring profiling,$(DEB_BUILD_OPTIONS)))
        LDFLAGS += -pg 
 endif
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-       CFLAGS += -O0 -ggdb -rdynamic -MD -MP -D TECH_PREVIEW -pedantic -Wformat-nonliteral
+       CFLAGS += -O0 -ggdb -rdynamic -MD -MP -D TECH_PREVIEW -pedantic -Wformat-nonliteral -Wmaybe-uninitialized -Wunused-variable
        EXTRA_ARGS =  --with-backtrace
 else
        CFLAGS += -O2