[Ltrace-devel] glob.c: In function 'globcomp': error: 'regex' may be used uninitialized in this function [-Werror=maybe-uninitialized]

Sedat Dilek sedat.dilek at gmail.com
Thu Nov 8 18:35:00 UTC 2012


Seen with ltrace-git up to commit
4754ea02d067a88e87d4cc67500419f20781de39
("4754ea02d067a88e87d4cc67500419f20781de39")
...
libtool: compile:
/home/wearefam/src/freetz/freetz-git/toolchain/build/mipsel_gcc-4.7.2-RC-20120914_uClibc-0.9.33.2/mipsel-linux-uclibc/bin/mipsel-linux-uclibc-gcc
-DHAVE_CONFIG_H -I. -I./sysdeps/linux-gnu/mipsel -I./sysdeps/linux-gnu
-I./sysdeps -I. -DSYSCONFDIR=\"/etc\" -Wall -Wsign-compare
-Wfloat-equal -Wformat-security -Werror -march=4kc -Os -pipe
-Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -MT glob.lo -MD -MP -MF .deps/glob.Tpo -c
glob.c  -fPIC -DPIC -o .libs/glob.o
glob.c: In function 'globcomp':
glob.c:190:9: error: 'regex' may be used uninitialized in this
function [-Werror=maybe-uninitialized]
cc1: all warnings being treated as errors
make[3]: *** [glob.lo] Error 1
make[3]: Leaving directory
`/home/wearefam/src/freetz/freetz-git/source/target-mipsel_uClibc-0.9.33.2/ltrace-0.7.0-git'

- Sedat -



More information about the Ltrace-devel mailing list