Hello,
I've installed wxwidgets 2.8.6 and from reprositories, and to do a test, i've created a new project with the wizard with basic options.
The new project can be compiled in debug mode, but in release i get some errors:
-------------- Build: Release in ln wxHelloWorld ---------------
Compiling: ln_wxHelloWorldApp.cpp
/usr/include/wx-2.8/wx/hashmap.h: In member function «wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const":
/usr/include/wx-2.8/wx/hashmap.h:714: warning : unreferencing of pointer type-punned will break stricts' aliases
/usr/include/wx-2.8/wx/clntdata.h: In member function «wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const":
/usr/include/wx-2.8/wx/clntdata.h:20: attention : déréférencement du pointeur type-punned brisera les strictes d'aliases
I get 10 errors of that type.
I'm supposing it's due to a bad configuration of the compiler settings, but i don't really know where to search!
Could anyone help me ?
Configuration : [Ubuntu 7.10] + [libs wxWidgets 2.8.6 base+Gtk runtime/debug/dev + headers] + [code::blocks 4639]