I rebased next and got this new warning/error using gcc version 4.3.3: gpt.c: In function 'gpt_read': gpt.c:816: error: not protecting function: no buffer at least 8 bytes long [-Wstack-protector]
So have squashed the following onto the warning-adding change-set on that branch: [I expect to push the result shortly] commit 1eac45815b71a7759643c6783fb113ac35c9c987 Author: Jim Meyering <[email protected]> Date: Sun Jul 19 21:39:00 2009 +0200 build: turn off -Wstack-protector * configure.ac (WERROR_CFLAGS): Turn off -Wstack-protector, to avoid warning due to libparted/label/gpt.c. diff --git a/configure.ac b/configure.ac index c4d1bb7..17958a0 100644 --- a/configure.ac +++ b/configure.ac @@ -242,6 +242,7 @@ if test "$gl_gcc_warnings" = yes; then nw="$nw -Wunsafe-loop-optimizations" # a few src/*.c nw="$nw -Winline" # system.h's readdir_ignoring_dot_and_dotdot nw="$nw -Wstrict-overflow" # expr.c, pr.c, tr.c, factor.c + nw="$nw -Wstack-protector" # libparted/label/gpt.c # ?? -Wstrict-overflow gl_MANYWARN_ALL_GCC([ws]) _______________________________________________ parted-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/parted-devel

