https://sourceforge.net/projects/mingw- ... posix/seh/
Using this build line for WxWidgets 3.1.1:
Code: Select all
mingw32-make -f makefile.gcc BUILD=release UNICODE=1 SHARED=1 MONOLITHIC=1 CFG=64 CXXFLAGS="-fno-keep-inline-dllexport"
Code: Select all
In file included from ../../src/common/dynload.cpp:25:
..\..\include/wx/msw/private.h: In static member function 'static void* AutoHANDLE<INVALID_VALUE>::InvalidHandle()':
..\..\include/wx/msw/private.h:148:49: error: invalid static_cast from type 'long long unsigned int' to type 'HANDLE' {aka 'void*'}
return static_cast<HANDLE>(INVALID_VALUE);
^
In file included from ..\..\include/wx/gdicmn.h:19,
from ..\..\include/wx/event.h:20,
from ..\..\include/wx/window.h:18,
from ..\..\include/wx/msw/private.h:21,
from ../../src/common/dynload.cpp:25:
..\..\include/wx/module.h: In member function 'wxModule* const& wxModuleList::const_iterator::operator*() const':
..\..\include/wx/list.h:834:60: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
{ return *(pointer_type)m_node->GetDataPtr(); } \
^
..\..\include/wx/list.h:1071:5: note: in expansion of macro 'WX_DECLARE_LIST_4'
WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE)
^~~~~~~~~~~~~~~~~
..\..\include/wx/list.h:1076:5: note: in expansion of macro 'WX_DECLARE_LIST_3'
WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp)
^~~~~~~~~~~~~~~~~
..\..\include/wx/list.h:1100:5: note: in expansion of macro 'WX_DECLARE_LIST_2'
WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, class usergoo)
^~~~~~~~~~~~~~~~~
..\..\include/wx/module.h:21:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_LIST'
WX_DECLARE_USER_EXPORTED_LIST(wxModule, wxModuleList, WXDLLIMPEXP_BASE);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..\..\include/wx/module.h: In member function 'wxModule* const& wxModuleList::const_reverse_iterator::operator*() const':
..\..\include/wx/list.h:926:60: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
{ return *(pointer_type)m_node->GetDataPtr(); } \
^
..\..\include/wx/list.h:1071:5: note: in expansion of macro 'WX_DECLARE_LIST_4'
WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE)
^~~~~~~~~~~~~~~~~
..\..\include/wx/list.h:1076:5: note: in expansion of macro 'WX_DECLARE_LIST_3'
WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp)
^~~~~~~~~~~~~~~~~
..\..\include/wx/list.h:1100:5: note: in expansion of macro 'WX_DECLARE_LIST_2'
WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, class usergoo)
^~~~~~~~~~~~~~~~~
..\..\include/wx/module.h:21:1: note: in expansion of macro 'WX_DECLARE_USER_EXPORTED_LIST'
WX_DECLARE_USER_EXPORTED_LIST(wxModule, wxModuleList, WXDLLIMPEXP_BASE);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ..\..\include/wx/log.h:63,
from ..\..\include/wx/msw/private.h:18,
from ../../src/common/dynload.cpp:25:
..\..\include/wx/dynload.h: In member function 'void wxDLManifest_wxImplementation_HashTable::ResizeTable(size_t)':
..\..\include/wx/hashmap.h:402:40: warning: cast between incompatible function types from 'wxDLManifest_wxImplementation_HashTable::size_type (*)(wxDLManifest_wxImplementation_HashTable::Self*, wxDLManifest_wxImplementation_HashTable::Node*)' {aka 'long long unsigned int (*)(wxDLManifest_wxImplementation_HashTable*, wxDLManifest_wxImplementation_HashTable::Node*)'} to '_wxHashTableBase2::BucketFromNode' {aka 'long unsigned int (*)(_wxHashTableBase2*, _wxHashTable_NodeBase*)'} [-Wcast-function-type]
(BucketFromNode)GetBucketForNode,\
^~~~~~~~~~~~~~~~
..\..\include/wx/hashmap.h:402:40: note: in definition of macro '_WX_DECLARE_HASHTABLE'
(BucketFromNode)GetBucketForNode,\
^~~~~~~~~~~~~~~~
..\..\include/wx/hashmap.h:710:5: note: in expansion of macro '_WX_DECLARE_HASH_MAP'
_WX_DECLARE_HASH_MAP( wxString, VALUE_T, wxStringHash, wxStringEqual, \
^~~~~~~~~~~~~~~~~~~~
..\..\include/wx/dynload.h:30:1: note: in expansion of macro 'WX_DECLARE_STRING_HASH_MAP_WITH_DECL'
WX_DECLARE_STRING_HASH_MAP_WITH_DECL(wxPluginLibrary *, wxDLManifest,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..\..\include/wx/dynload.h: In member function 'void wxDLManifest_wxImplementation_HashTable::HashCopy(const Self&)':
..\..\include/wx/hashmap.h:414:40: warning: cast between incompatible function types from 'wxDLManifest_wxImplementation_HashTable::size_type (*)(wxDLManifest_wxImplementation_HashTable::Self*, wxDLManifest_wxImplementation_HashTable::Node*)' {aka 'long long unsigned int (*)(wxDLManifest_wxImplementation_HashTable*, wxDLManifest_wxImplementation_HashTable::Node*)'} to '_wxHashTableBase2::BucketFromNode' {aka 'long unsigned int (*)(_wxHashTableBase2*, _wxHashTable_NodeBase*)'} [-Wcast-function-type]
(BucketFromNode)GetBucketForNode, \
^~~~~~~~~~~~~~~~
..\..\include/wx/hashmap.h:414:40: note: in definition of macro '_WX_DECLARE_HASHTABLE'
(BucketFromNode)GetBucketForNode, \
^~~~~~~~~~~~~~~~
..\..\include/wx/hashmap.h:710:5: note: in expansion of macro '_WX_DECLARE_HASH_MAP'
_WX_DECLARE_HASH_MAP( wxString, VALUE_T, wxStringHash, wxStringEqual, \
^~~~~~~~~~~~~~~~~~~~
..\..\include/wx/dynload.h:30:1: note: in expansion of macro 'WX_DECLARE_STRING_HASH_MAP_WITH_DECL'
WX_DECLARE_STRING_HASH_MAP_WITH_DECL(wxPluginLibrary *, wxDLManifest,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mingw32-make: *** [makefile.gcc:6663: gcc_mswudll64\monodll_dynload.o] Error 1