Comment 26 for bug 792115

Revision history for this message
Alvin Penner (apenner) wrote :

on Windows XP, rev 10442, I was able to get rid of the errors that relate to test-combo-button.c by deleting this file. It is not listed in Makefile_insert, neither is the file test-dock.c. I assume this means they are not needed.

However, I still get errors from the file gdl-dock-layout.c (below). This file is also not listed in the file Makefile_insert. Is this deliberate or accidental?

Make error line 303: problem compiling: cc1.exe: warning: command line option "-
Woverloaded-virtual" is valid for C++/ObjC++ but not for C
src/libgdl/gdl-dock-layout.c: In function 'load_layout_cb':
src/libgdl/gdl-dock-layout.c:412:28: warning: unused parameter 'w'
src/libgdl/gdl-dock-layout.c: In function 'delete_layout_cb':
src/libgdl/gdl-dock-layout.c:434:30: warning: unused parameter 'w'
src/libgdl/gdl-dock-layout.c: In function 'show_toggled_cb':
src/libgdl/gdl-dock-layout.c:456:41: warning: unused parameter 'renderer'
src/libgdl/gdl-dock-layout.c: In function 'layout_ui_destroyed':
src/libgdl/gdl-dock-layout.c:505:33: warning: unused parameter 'user_data'
src/libgdl/gdl-dock-layout.c: In function 'master_locked_notify_cb':
src/libgdl/gdl-dock-layout.c:531:41: warning: unused parameter 'pspec'
src/libgdl/gdl-dock-layout.c: In function 'load_interface':
src/libgdl/gdl-dock-layout.c:558:34: error: 'GDL_UIDIR' undeclared (first use in
 this function)
src/libgdl/gdl-dock-layout.c:558:34: note: each undeclared identifier is reporte
d only once for each function it appears in
src/libgdl/gdl-dock-layout.c: In function 'cell_edited_cb':
src/libgdl/gdl-dock-layout.c:642:38: warning: unused parameter 'cell'
src/libgdl/gdl-dock-layout.c: In function 'gdl_dock_layout_setup_object':
src/libgdl/gdl-dock-layout.c:755:5: warning: missing initializer
src/libgdl/gdl-dock-layout.c:755:5: warning: (near initialization for 'serialize
d.data')
src/libgdl/gdl-dock-layout.c:839:23: warning: comparison between signed and unsi
gned integer expressions
src/libgdl/gdl-dock-layout.c:846:19: warning: comparison between signed and unsi
gned integer expressions
src/libgdl/gdl-dock-layout.c: In function 'gdl_dock_layout_foreach_object_save':

src/libgdl/gdl-dock-layout.c:960:5: warning: missing initializer
src/libgdl/gdl-dock-layout.c:960:5: warning: (near initialization for 'attr.data
')
src/libgdl/gdl-dock-layout.c:978:13: warning: missing initializer
src/libgdl/gdl-dock-layout.c:978:13: warning: (near initialization for 'v.data')

src/libgdl/gdl-dock-layout.c: In function 'gdl_dock_layout_layout_changed_cb':
src/libgdl/gdl-dock-layout.c:1112:51: warning: unused parameter 'master'
src/libgdl/gdl-dock-layout.c: In function 'gdl_dock_layout_run_manager':
src/libgdl/gdl-dock-layout.c:1287:16: warning: unused variable 'parent'