wxWidgets 2.8.0
STLPort 5.1.0
MSVC 8
With this configuration, compiling many of the samples produces compilation errors in the WX_LIST macros: 'no definition for std::greater'
Fix: Place '#include <functional>' in line 37 of file wx/list.h
STLPort and wxUSE_STL compilation error
I have the same problem and I added :
after :
in "include/wx/list.h" around line 40
I noticed "greater" struct is not included in STLport so we had to include ourself
Edit: Btw STLport 5.0.2 compiled fine without any edit...
Code: Select all
#include <stl/_function.h>
Code: Select all
#include <list>
I noticed "greater" struct is not included in STLport so we had to include ourself
Edit: Btw STLport 5.0.2 compiled fine without any edit...