public inbox for
 help / color / mirror / Atom feed
* Build problems again
@ 2013-07-15 10:01 Fedin Pavel
  2013-07-23 16:41 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Fedin Pavel @ 2013-07-15 10:01 UTC (permalink / raw)
  To: insight

 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 ---
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-23 16:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-15 10:01 Build problems again Fedin Pavel
2013-07-23 16:41 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).