gcc -DHAVE_CONFIG_H -I. -I../../src/binutils -I. -I../../src/binutils -I../bfd -I../../src/binutils/../bfd -I../../src/binutils/../include -LOCALEDIR="\"/ming w64/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -stri ct-prototypes -Wmissing-prototypes -Wshadow -Wno-format -Werror -O3 -fomit- frame-pointer -pipe -march=k8 -mtune=k8 -mfpmath=sse -m64 -m128bit-long- double -minline-stringops-dynamically -Wa,-march=k8 -Wa,-mtune=k8 - D__USE_MINGW_ACCESS -MT dwarf.o -MD -MP -MF .deps/dwarf.Tpo -c -o dwarf.o ../../src/binutils/dwarf.c cc1.exe: warnings being treated as errors ../../src/binutils/dwarf.c: In function 'process_debug_info': ../../src/binutils/dwarf.c:1948:21: error: 'signature[0]' may be used uninitialized in this function ../../src/binutils/dwarf.c:1948:21: error: 'signature[1]' may be used uninitialized in this function ../../src/binutils/dwarf.c:1948:21: error: 'signature[2]' may be used uninitialized in this function ../../src/binutils/dwarf.c:1948:21: error: 'signature[3]' may be used uninitialized in this function ../../src/binutils/dwarf.c:1948:21: error: 'signature[4]' may be used uninitialized in this function ../../src/binutils/dwarf.c:1948:21: error: 'signature[5]' may be used uninitialized in this function ../../src/binutils/dwarf.c:1948:21: error: 'signature[6]' may be used uninitialized in this function ../../src/binutils/dwarf.c:1948:21: error: 'signature[7]' may be used uninitialized in this function make[4]: *** [dwarf.o] Error 1
Explicitly initialize unsigned char signature[8]={0}; in dwarf.c line 1948? -- Summary: array "signature[8]" may be used uninitialized Product: binutils Version: 2.20 Status: NEW Severity: minor Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: aflyhorse at foxmail dot com CC: aflyhorse at foxmail dot com,bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=11419 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils