I decided try gcc 4.1.2 under Windows. I downloaded install package from
http://www.develer.com/oss/GccWinBinaries. I compiled
wxWidgets 2.8.3 and hadn't got any problems. But when i try to compile test wxWidgets application, i get a few errors in wxWidgets header files, not in my sources. There is test application, which created by wxWidgets wizard:
#ifdef WX_PRECOMP //
#include "wx_pch.h"
#endif
#ifdef __BORLANDC__
#pragma hdrstop
#endif //__BORLANDC__
#include "testWXApp.h"
//(*AppHeaders
#include "testWXMain.h"
#include <wx/image.h>
//*)
IMPLEMENT_APP(testWXApp);
bool testWXApp::OnInit()
{
//(*AppInitialize
bool wxsOK = true;
wxInitAllImageHandlers();
if ( wxsOK )
{
testWXFrame* Frame = new testWXFrame(NULL);
Frame->Show();
SetTopWindow(Frame);
}
//*)
return wxsOK;
}
There are an errors:
E:\libs\wxWidgets-2.8.3\include\wx\buffer.h:114: error: 'strdup' was not declared in this scope
E:\libs\wxWidgets-2.8.3\include\wx\buffer.h:114: error: 'strdup' was not declared in this scope
E:\libs\wxWidgets-2.8.3\include\wx\buffer.h:118: error: '_wcsdup' was not declared in this scope
E:\libs\wxWidgets-2.8.3\include\wx\buffer.h:118: error: '_wcsdup' was not declared in this scope
E:\libs\wxWidgets-2.8.3\include\wx\string.h:58: warning: type attributes are honored only at type definition
E:\libs\wxWidgets-2.8.3\include\wx\string.h:141: error: 'strcasecmp' was not declared in this scope
:: === Build finished: 7 errors, 203 warnings ===
My system is MS Windows SP2, CodeBlocks SVN revision 3879.
P.S. CodeBlocks with wxWidgets 2.6.3 compiled without any problems.
P.P.S. Sorry for my English))