aboutsummaryrefslogtreecommitdiff
path: root/MCONFIG.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-01-11 16:08:23 +0000
committerTheodore Ts'o <tytso@mit.edu>2001-01-11 16:08:23 +0000
commitc8c071a07319939dfd7ae2ff1dedec644d750deb (patch)
treee3402a090c1c2ec57e1189e47e290276058e562a /MCONFIG.in
parent4d4045475f80ad2901c468815976d2beffd0cb59 (diff)
downloade2fsprogs-c8c071a07319939dfd7ae2ff1dedec644d750deb.tar.gz
ChangeLog, e2image.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c, uuidgen.c:
e2image.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c, uuidgen.c: Fix gcc -Wall complaints, including one bug in tune2fs caused by a block automatic shadowing version of the variable we really wanted to use, which broke the logic testing to see if the filesystem was mounted. ChangeLog, MCONFIG.in: (gcc-wall-new): Added new target which forgoes the make clean so we only check the newly modified .c files.
Diffstat (limited to 'MCONFIG.in')
-rw-r--r--MCONFIG.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/MCONFIG.in b/MCONFIG.in
index 0e3d494f..e4ad5780 100644
--- a/MCONFIG.in
+++ b/MCONFIG.in
@@ -115,9 +115,12 @@ WFLAGS= -ansi -D_POSIX_SOURCE -pedantic \
-Wstrict-prototypes -Wmissing-prototypes \
-Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow
+gcc-wall-new:
+ (make USE_WFLAGS="$(WFLAGS)" > /dev/null) 2>&1 | sed -f $(top_srcdir)/util/gcc-wall-cleanup
+
gcc-wall:
make clean > /dev/null
- (make USE_WFLAGS="$(WFLAGS)" > /dev/null) 2>&1 | sed -f $(top_srcdir)/util/gcc-wall-cleanup
+ make gcc-wall-new
#
# Installation user and groups