g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/local/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT fnb_customize_dlg.lo -MD -MP -MF .deps/fnb_customize_dlg.Tpo -c src/wxFlatNotebook/fnb_customize_dlg.cpp -fPIC -DPIC -o .libs/fnb_customize_dlg.o
In file included from ../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFlatNotebook.h:41,
from src/wxFlatNotebook/fnb_customize_dlg.cpp:3:
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:76: error: invalid use of incomplete type 'struct wxDropTarget'
/usr/local/include/wx-2.8/wx/window.h:60: error: forward declaration of 'struct wxDropTarget'
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:78: error: expected identifier before '*' token
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:78: error: ISO C++ forbids declaration of 'wxDragResult' with no type
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:78: error: 'wxDragResult' declared as function returning a function
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:80: error: 'pt2Func' does not name a type
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:88: error: 'pt2Func' has not been declared
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:106: error: 'OnData' declared as function returning a function
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h: In constructor 'wxFNBDropTarget<T>::wxFNBDropTarget(T*, int)':
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:90: error: class 'wxFNBDropTarget<T>' does not have any field named 'm_pt2CallbackFunc'
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:94: error: there are no arguments to 'SetDataObject' that depend on a template parameter, so a declaration of 'SetDataObject' must be available
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:94: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h: In member function 'virtual int wxFNBDropTarget<T>::OnData(wxCoord, wxCoord, int (*)(int*))':
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:108: error: there are no arguments to 'GetData' that depend on a templateparameter, so a declaration of 'GetData' must be available
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:112: error: 'wxDragNone' was not declared in this scope
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:114: error: 'm_pt2CallbackFunc' was not declared in this scope
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h: At global scope:
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:131: error: expected class-name before '{' token
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:159: error: 'wxDragResult' has not been declared
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h: In constructor 'wxFNBDropSource::wxFNBDropSource(wxWindow*)':
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:142: error: class 'wxFNBDropSource' does not have any field named 'wxDropSource'
In file included from src/wxFlatNotebook/fnb_customize_dlg.cpp:3:
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFlatNotebook.h: At global scope:
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFlatNotebook.h:325: error: 'wxDragResult' does not name a type
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFlatNotebook.h:835: error: 'wxDragResult' does not name a type
make[3]: *** [fnb_customize_dlg.lo] Error 1
make[3]: Leaving directory `/home/lin/Download/codeblocks/codeblocks-8.02/src/sdk/wxFlatNotebook'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lin/Download/codeblocks/codeblocks-8.02/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lin/Download/codeblocks/codeblocks-8.02/src'
make: *** [all-recursive] Error 1
----------------------------------------------------------------------------------------
wxX11-2.8.7
./configure --enable-optimise --disable-universal
gcc version 4.3.0 20080307 (Red Hat 4.3.0-2) (GCC)