Unforgiveable, eh?
gcc -c -g -O3 -Wall -Wno-switch -Wpointer-arith -Winline -Wmissing-prototypes -Wshadow
-Demacs -I. -DHAVE_CONFIG_H -I/usr/X11R6/include
/coda/Projects/XEmacs/21.2-HEAD/src/dumper.c
/coda/Projects/XEmacs/21.2-HEAD/src/dumper.c: In function `pdump_register_sub':
/coda/Projects/XEmacs/21.2-HEAD/src/dumper.c:423: warning: `count' might be used
uninitialized in this function
/coda/Projects/XEmacs/21.2-HEAD/src/dumper.c:423: warning: `count' might be used
uninitialized in this function
/coda/Projects/XEmacs/21.2-HEAD/src/dumper.c:423: warning: `count' might be used
uninitialized in this function
/coda/Projects/XEmacs/21.2-HEAD/src/dumper.c: In function `pdump_dump_data':
/coda/Projects/XEmacs/21.2-HEAD/src/dumper.c:423: warning: `count' might be used
uninitialized in this function
/coda/Projects/XEmacs/21.2-HEAD/src/dumper.c:423: warning: `count' might be used
uninitialized in this function
/coda/Projects/XEmacs/21.2-HEAD/src/dumper.c: In function `pdump_reloc_one':
/coda/Projects/XEmacs/21.2-HEAD/src/dumper.c:423: warning: `count' might be used
uninitialized in this function
I also don't understand why GCC is so confused about which function
it's in. The line number is right, and there is an uninitialized
variable count on it, and the default case of the switch that follows
doesn't assign to count, it abort()s instead. So that's the one it's
talking about.
There are a couple obvious ways to shut the compiler up but I don't
know which is preferred here. Sorry for lack of patch.
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."