Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
CVS seems broken ?
Der Meister:
Well, this was enough before the great changes in the last days. But doing so with the current cvs-version gives lots of errors... for example:
--- Code: --- g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/sdk -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I../../../src/sdk/wxscintilla/include -I../../../src/sdk/tinyxml -I../../../src/sdk -I../../../src/sdk/as/include -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -g -O2 -O2 -ffast-math -MT sc_io.lo -MD -MP -MF .deps/sc_io.Tpo -c ./bindings/sc_io.cpp -fPIC -DPIC -o .libs/sc_io.o
bindings/sc_io.cpp: In member function `bool IOLib::RemoveDir(const wxString&)':
bindings/sc_io.cpp:23: error: `rmdir' undeclared (first use this function)
bindings/sc_io.cpp:23: error: (Each undeclared identifier is reported only once for each function it appears in.)
--- End code ---
Could it be possible that (in this case) only -DCB_PRECOMP and/or -DWX_PRECOMP are missing? I did not test it but these two macros are defined when compiling with the project file CodeBlocks-NewBuild.cpb.
mandrav:
What gcc are you using?
(g++ --version)
Der Meister:
--- Code: ---gcc (GCC) 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
--- End code ---
But I don't think that it is just a compiler problem because I can compile even the current cvs-version (just using a modified CodeBlocks-NewBuild.cbp, but these files are also compiled).
mandrav:
No, the reason I asked is because your compiler doesn't use precompiled headers. Mine does that's why I didn't notice...
So the problem is about a missing include in sdk/as/bindings/sc_io.cpp.
Add #include <wx/filefn.h> in this file and try again...
Der Meister:
I'm sorry but this did not change anything.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version