you don't get errors on the compilation of sc_dialog.cpp I do , tried it out on 3 different Suse 10.2 machines
No error, I used this script:
#!/bin/sh
./bootstrap
./configure --enable-contrib
make clean-zipfiles
make
And I try this also:
pascal@pluton:~/project/codeblocks/src/sdk/scripting/bindings$
make cleanrm -rf .libs _libs
test -z "libsqbindings.la" || rm -f libsqbindings.la
rm -f "./so_locations"
rm -f *.o
rm -f *.lo
pascal@pluton:~/project/codeblocks/src/sdk/scripting/bindings$
make...
if /bin/bash ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/sdk -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../../src/sdk -I../../../../src/sdk/wxscintilla/include -I../../../../src/sdk/scripting/include -I../../../../src/sdk/scripting/sqplus -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT sc_dialog.lo -MD -MP -MF ".deps/sc_dialog.Tpo" -c -o sc_dialog.lo sc_dialog.cpp; \
then mv -f ".deps/sc_dialog.Tpo" ".deps/sc_dialog.Plo"; else rm -f ".deps/sc_dialog.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/sdk -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../../src/sdk -I../../../../src/sdk/wxscintilla/include -I../../../../src/sdk/scripting/include -I../../../../src/sdk/scripting/sqplus -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT sc_dialog.lo -MD -MP -MF .deps/sc_dialog.Tpo -c sc_dialog.cpp -fPIC -DPIC -o .libs/sc_dialog.o
...
/bin/bash ../../../../libtool --tag=CXX --mode=link g++ -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -o libsqbindings.la scriptbindings.lo sc_consts.lo sc_dialog.lo sc_globals.lo sc_plugin.lo sc_progress.lo sc_wxtypes.lo sc_io.lo -lpthread -ldl
ar cru .libs/libsqbindings.a .libs/scriptbindings.o .libs/sc_consts.o .libs/sc_dialog.o .libs/sc_globals.o .libs/sc_plugin.o .libs/sc_progress.o .libs/sc_wxtypes.o .libs/sc_io.o
ranlib .libs/libsqbindings.a
creating libsqbindings.la
(cd .libs && rm -f libsqbindings.la && ln -s ../libsqbindings.la libsqbindings.la)