Build problems again
Fedin Pavel <[email protected]> Mon, 15 Jul 2013 14:01:19 +0400
| Newsgroups | gmane.comp.debugging.insight |
|---|---|
| Message-ID | <002401ce8142$40fd2680$c2f77380$%[email protected]> |
Hello! One more build problem appeared: --- cut --- gcc -O2 -isystem /mingw/include -D__USE_MINGW_ACCESS -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes /.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DGDBTK -I/mingw/include -Wall -Wdeclar ation-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-stateme nt -Wempty-body -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wno-format -Werror -c -o gdbtk.o -MT gdbtk.o -MMD -MP -MF .deps/gdbtk.Tpo -I./../libgui/sr c -I/E/Projects/insight/src/tcl/generic -I/E/Projects/insight/src/tk/generic -I"/E/Projects/insight/src/tk/xlib" -DGDBTK_LIBRARY=\"/usr/local/share/insight1.0\" -DSRC_DIR=\"/E /Projects/insight/src/gdb\" ./gdbtk/generic/gdbtk.c cc1.exe: warnings being treated as errors ./gdbtk/generic/gdbtk.c: In function 'close_bfds': ./gdbtk/generic/gdbtk.c:168:1: error: old-style function definition make: *** [gdbtk.o] Error 1 --- cut --- Fixed by changing function definition to: --- cut --- void close_bfds (void) --- cut --- (added explicit 'void' in arguments). The error is reported by gcc 4.5.2. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia