Dear Sirs,
this is Ubuntu 14.04.5 LTS / x86_64 / gcc (Ubuntu
4.8.4-2ubuntu1~14.04.3) 4.8.4.
While compiling the most current GIT version (as of today), I get some
warnings:
----------------------------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../include
-I../VEX/pub -I../VEX/pub -DVGA_amd64=1 -DVGO_linux=1
-DVGP_amd64_linux=1 -DVGPV_amd64_linux_vanilla=1 -I../coregrind
-DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -DVG_PLATFORM="\
"amd64-linux\"" -m64 -O2 -finline-functions -g -std=gnu99 -Wall
-Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes
-Wmissing-declarations -Wcast-align -Wcast-qual -Wwrite-strings
-Wempty-body -Wformat -Wformat-security -W
ignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration
-fno-stack-protector -fno-strict-aliasing -fno-builtin
-fomit-frame-pointer -DENABLE_LINUX_TICKET_LOCK -MT
libcoregrind_amd64_linux_a-m_libcbase.o -MD -MP -MF .deps/li
bcoregrind_amd64_linux_a-m_libcbase.Tpo -c -o
libcoregrind_amd64_linux_a-m_libcbase.o `test -f 'm_libcbase.c' || echo
'./'`m_libcbase.c
m_libcbase.c: In function ‘vgPlain_parse_enum_set’:
m_libcbase.c:645:19: warning: ‘tokens_saveptr’ may be used uninitialized
in this function [-Wmaybe-uninitialized]
for (p = s; *p != '\0'; ++p) {
^
m_libcbase.c:572:11: note: ‘tokens_saveptr’ was declared here
HChar *tokens_saveptr;
^
m_libcbase.c:645:19: warning: ‘input_saveptr’ may be used uninitialized
in this function [-Wmaybe-uninitialized]
for (p = s; *p != '\0'; ++p) {
^
m_libcbase.c:580:11: note: ‘input_saveptr’ was declared here
HChar *input_saveptr;
^
----------------------------------------------------------------------
Hope it helps,
Best regards,
Jacek.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users