I have attached a build output file showing the errors.
On 9/5/2023 3:24 PM, Trey Tebbe wrote:
Yes license, and there's already been a lot of work done using gcc.
Everything seems to be compiling okay until i get to wxdockview. It
seems to be having problems with the a2dHashMap. It is getting
conflicting declaration and incomplete type errors for almost
everything to do with it. If you have any suggestions they would be
greatly appreciated.
On 9/2/2023 7:35 PM, klaas.holwerda wrote:
Did succeed once, but it is a long time ago, so maybe better use VC.
It is not impossible, but might need some work to get it going again.
Wonder why people use mingw, license issues??
Klaas
On 01/09/2023 18:21, Trey Tebbe wrote:
Hello,
I was just wondering if it is possible to compile the wxart2d
library using the mingw 64-bit compiler. I have been trying with no
success and wanted to make sure it was actually possible.
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev
Scanning dependencies of target generalt
[ 1%] Building CXX object
wxartbase/general/src/CMakeFiles/generalt.dir/comevt.cpp.obj
In file included from C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/comevt.h:37,
from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:37:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:
In constructor 'a2dVersionInfo::a2dVersionInfo(const wxString&, int, int, int,
const wxString&, const wxString&)':
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:219:15:
warning: 'a2dVersionInfo::m_vers' will be initialized after [-Wreorder]
219 | a2dVersNo m_vers;
| ^~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:216:14:
warning: 'wxString a2dVersionInfo::m_description' [-Wreorder]
216 | m_description,
| ^~~~~~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:159:5:
warning: when initialized here [-Wreorder]
159 | a2dVersionInfo(const wxString& name,
| ^~~~~~~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:
In constructor 'a2dVersionInfo::a2dVersionInfo(const wxString&, const
wxString&, const wxString&, const wxString&)':
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:219:15:
warning: 'a2dVersionInfo::m_vers' will be initialized after [-Wreorder]
219 | a2dVersNo m_vers;
| ^~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:216:14:
warning: 'wxString a2dVersionInfo::m_description' [-Wreorder]
216 | m_description,
| ^~~~~~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:172:5:
warning: when initialized here [-Wreorder]
172 | a2dVersionInfo(const wxString& versionString,
| ^~~~~~~~~~~~~~
In file included from C:/Users/trey_tebbe/Documents/source pool
update/wxWidgets-3.0.5/include/wx/wx.h:20,
from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:20:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:
At global scope:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:721:89:
error: conflicting declaration 'typedef class std::unordered_map<wxString,
a2dObject*, wxStringHash, wxStringEqual> a2dHashMapIntToObject'
721 | WX_DECLARE_HASH_MAP_WITH_DECL( wxString, class a2dObject*,
wxStringHash, wxStringEqual, a2dHashMapIntToObject, class A2DGENERALDLLEXP );
|
^~~~~~~~~~~~~~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxWidgets-3.0.5/include/wx/hashmap.h:42:86: note: in definition of macro
'_WX_DECLARE_HASH_MAP'
42 | typedef WX_HASH_MAP_NAMESPACE::unordered_map< KEY_T, VALUE_T,
HASH_T, KEY_EQ_T > CLASSNAME
|
^~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:721:1:
note: in expansion of macro 'WX_DECLARE_HASH_MAP_WITH_DECL'
721 | WX_DECLARE_HASH_MAP_WITH_DECL( wxString, class a2dObject*,
wxStringHash, wxStringEqual, a2dHashMapIntToObject, class A2DGENERALDLLEXP );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/comevt.h:37,
from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:37:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:709:24:
note: previous declaration as 'class a2dHashMapIntToObject'
709 | class A2DGENERALDLLEXP a2dHashMapIntToObject;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from C:/Users/trey_tebbe/Documents/source pool
update/wxWidgets-3.0.5/include/wx/wx.h:20,
from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:20:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:724:81:
error: conflicting declaration 'typedef class std::unordered_map<wxString,
wxString, wxStringHash, wxStringEqual> a2dHashMapCreateObject'
724 | WX_DECLARE_HASH_MAP_WITH_DECL( wxString, wxString, wxStringHash,
wxStringEqual, a2dHashMapCreateObject, class A2DGENERALDLLEXP );
|
^~~~~~~~~~~~~~~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxWidgets-3.0.5/include/wx/hashmap.h:42:86: note: in definition of macro
'_WX_DECLARE_HASH_MAP'
42 | typedef WX_HASH_MAP_NAMESPACE::unordered_map< KEY_T, VALUE_T,
HASH_T, KEY_EQ_T > CLASSNAME
|
^~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:724:1:
note: in expansion of macro 'WX_DECLARE_HASH_MAP_WITH_DECL'
724 | WX_DECLARE_HASH_MAP_WITH_DECL( wxString, wxString, wxStringHash,
wxStringEqual, a2dHashMapCreateObject, class A2DGENERALDLLEXP );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/comevt.h:37,
from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:37:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:713:24:
note: previous declaration as 'class a2dHashMapCreateObject'
713 | class A2DGENERALDLLEXP a2dHashMapCreateObject;
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from C:/Users/trey_tebbe/Documents/source pool
update/wxWidgets-3.0.5/include/wx/wx.h:20,
from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:20:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:3305:58:
error: conflicting declaration 'typedef class std::unordered_map<wxString,
a2dNamedProperty*, wxStringHash, wxStringEqual> a2dVariablesHashBase'
3305 | WX_DECLARE_STRING_HASH_MAP_WITH_DECL( a2dNamedProperty*,
a2dVariablesHashBase, class A2DGENERALDLLEXP );
|
^~~~~~~~~~~~~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxWidgets-3.0.5/include/wx/hashmap.h:42:86: note: in definition of macro
'_WX_DECLARE_HASH_MAP'
42 | typedef WX_HASH_MAP_NAMESPACE::unordered_map< KEY_T, VALUE_T,
HASH_T, KEY_EQ_T > CLASSNAME
|
^~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:3305:1:
note: in expansion of macro 'WX_DECLARE_STRING_HASH_MAP_WITH_DECL'
3305 | WX_DECLARE_STRING_HASH_MAP_WITH_DECL( a2dNamedProperty*,
a2dVariablesHashBase, class A2DGENERALDLLEXP );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/comevt.h:37,
from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:37:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:3302:24:
note: previous declaration as 'class a2dVariablesHashBase'
3302 | class A2DGENERALDLLEXP a2dVariablesHashBase;
| ^~~~~~~~~~~~~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:3320:51:
error: invalid use of incomplete type 'class a2dVariablesHashBase'
3320 | class A2DGENERALDLLEXP a2dVariablesHash : private a2dVariablesHashBase
| ^~~~~~~~~~~~~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:3302:24:
note: forward declaration of 'class a2dVariablesHashBase'
3302 | class A2DGENERALDLLEXP a2dVariablesHashBase;
| ^~~~~~~~~~~~~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:3643:27:
error: field 'm_objecthashmap' has incomplete type 'a2dHashMapIntToObject'
3643 | a2dHashMapIntToObject m_objecthashmap;
| ^~~~~~~~~~~~~~~
In file included from C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/comevt.h:37,
from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:37:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:709:24:
note: forward declaration of 'class a2dHashMapIntToObject'
709 | class A2DGENERALDLLEXP a2dHashMapIntToObject;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/comevt.h:37,
from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:37:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:3646:28:
error: field 'm_objectCreate' has incomplete type 'a2dHashMapCreateObject'
3646 | a2dHashMapCreateObject m_objectCreate;
| ^~~~~~~~~~~~~~
In file included from C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/comevt.h:37,
from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:37:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:713:24:
note: forward declaration of 'class a2dHashMapCreateObject'
713 | class A2DGENERALDLLEXP a2dHashMapCreateObject;
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from C:/Users/trey_tebbe/Documents/source pool
update/wxWidgets-3.0.5/include/wx/wx.h:20,
from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:20:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:3997:45:
error: conflicting declaration 'typedef class std::unordered_map<wxString,
bool (**)(wxObject*, wxObject*, long int), wxStringHash, wxStringEqual>
a2dIOHandlerCoupleHash'
3997 | WX_DECLARE_STRING_HASH_MAP( a2dObjectIOFn*, a2dIOHandlerCoupleHash );
| ^~~~~~~~~~~~~~~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxWidgets-3.0.5/include/wx/hashmap.h:42:86: note: in definition of macro
'_WX_DECLARE_HASH_MAP'
42 | typedef WX_HASH_MAP_NAMESPACE::unordered_map< KEY_T, VALUE_T,
HASH_T, KEY_EQ_T > CLASSNAME
|
^~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:3997:1:
note: in expansion of macro 'WX_DECLARE_STRING_HASH_MAP'
3997 | WX_DECLARE_STRING_HASH_MAP( a2dObjectIOFn*, a2dIOHandlerCoupleHash );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/comevt.h:37,
from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:37:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:3991:24:
note: previous declaration as 'class a2dIOHandlerCoupleHash'
3991 | class A2DGENERALDLLEXP a2dIOHandlerCoupleHash;
| ^~~~~~~~~~~~~~~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:4119:28:
error: field 'm_register' has incomplete type 'a2dIOHandlerCoupleHash'
4119 | a2dIOHandlerCoupleHash m_register;
| ^~~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/gen.h:3991:24:
note: forward declaration of 'class a2dIOHandlerCoupleHash'
3991 | class A2DGENERALDLLEXP a2dIOHandlerCoupleHash;
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from C:/Users/trey_tebbe/Documents/source pool
update/wxWidgets-3.0.5/include/wx/wx.h:20,
from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:20:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/comevt.h:69:86:
error: conflicting declaration 'typedef class std::unordered_map<wxString,
a2dCommandId*, wxStringHash, wxStringEqual> a2dHashMapCommandIds'
69 | WX_DECLARE_HASH_MAP_WITH_DECL( wxString, a2dCommandId*, wxStringHash,
wxStringEqual, a2dHashMapCommandIds, class A2DGENERALDLLEXP );
|
^~~~~~~~~~~~~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxWidgets-3.0.5/include/wx/hashmap.h:42:86: note: in definition of macro
'_WX_DECLARE_HASH_MAP'
42 | typedef WX_HASH_MAP_NAMESPACE::unordered_map< KEY_T, VALUE_T,
HASH_T, KEY_EQ_T > CLASSNAME
|
^~~~~~~~~
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/comevt.h:69:1:
note: in expansion of macro 'WX_DECLARE_HASH_MAP_WITH_DECL'
69 | WX_DECLARE_HASH_MAP_WITH_DECL( wxString, a2dCommandId*, wxStringHash,
wxStringEqual, a2dHashMapCommandIds, class A2DGENERALDLLEXP );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:37:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/comevt.h:64:24:
note: previous declaration as 'class a2dHashMapCommandIds'
64 | class A2DGENERALDLLEXP a2dHashMapCommandIds;
| ^~~~~~~~~~~~~~~~~~~~
C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:
In constructor 'a2dCommandId::a2dCommandId(const wxString&)':
C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:76:34:
error: invalid use of incomplete type 'class a2dHashMapCommandIds'
76 | for( int indx = 1; GetHashMap().find( commandName ) !=
GetHashMap().end(); indx++ )
| ~~~~~~~~~~^~
In file included from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:37:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/comevt.h:64:24:
note: forward declaration of 'class a2dHashMapCommandIds'
64 | class A2DGENERALDLLEXP a2dHashMapCommandIds;
| ^~~~~~~~~~~~~~~~~~~~
C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:76:70:
error: invalid use of incomplete type 'class a2dHashMapCommandIds'
76 | for( int indx = 1; GetHashMap().find( commandName ) !=
GetHashMap().end(); indx++ )
| ~~~~~~~~~~^~
In file included from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:37:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/comevt.h:64:24:
note: forward declaration of 'class a2dHashMapCommandIds'
64 | class A2DGENERALDLLEXP a2dHashMapCommandIds;
| ^~~~~~~~~~~~~~~~~~~~
C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:81:17:
error: no match for 'operator[]' (operand types are 'a2dHashMapCommandIds' and
'const wxString')
81 | GetHashMap()[commandName] = this;
| ^
C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:
In static member function 'static const a2dCommandId&
a2dCommandId::GetCommandByName(const wxString&)':
C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:86:27:
error: incomplete type 'a2dHashMapCommandIds' used in nested name specifier
86 | a2dHashMapCommandIds::iterator iterCommand = GetHashMap().find(
commandName );
| ^~~~~~~~
C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:87:12:
error: 'iterCommand' was not declared in this scope
87 | return iterCommand != GetHashMap().end() ? *iterCommand->second :
a2dCommand::sm_noCommandId;
| ^~~~~~~~~~~
C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:87:37:
error: invalid use of incomplete type 'class a2dHashMapCommandIds'
87 | return iterCommand != GetHashMap().end() ? *iterCommand->second :
a2dCommand::sm_noCommandId;
| ~~~~~~~~~~^~
In file included from C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:37:
C:/Users/trey_tebbe/Documents/source pool
update/wxart2d-code-r1209-trunk/wxart2d-code-r1209-trunk/wxArt2D/packages/wxartbase/include/wx/general/comevt.h:64:24:
note: forward declaration of 'class a2dHashMapCommandIds'
64 | class A2DGENERALDLLEXP a2dHashMapCommandIds;
| ^~~~~~~~~~~~~~~~~~~~
C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:
In static member function 'static a2dHashMapCommandIds&
a2dCommandId::GetHashMap()':
C:\Users\trey_tebbe\Documents\source pool
update\wxart2d-code-r1209-trunk\wxart2d-code-r1209-trunk\wxArt2D\packages\wxartbase\general\src\comevt.cpp:93:33:
error: aggregate 'a2dHashMapCommandIds namehash' has incomplete type and
cannot be defined
93 | static a2dHashMapCommandIds namehash;
| ^~~~~~~~
wxartbase\general\src\CMakeFiles\generalt.dir\build.make:57: recipe for target
'wxartbase/general/src/CMakeFiles/generalt.dir/comevt.cpp.obj' failed
mingw32-make[2]: ***
[wxartbase/general/src/CMakeFiles/generalt.dir/comevt.cpp.obj] Error 1
CMakeFiles\Makefile2:128: recipe for target
'wxartbase/general/src/CMakeFiles/generalt.dir/all' failed
mingw32-make[1]: *** [wxartbase/general/src/CMakeFiles/generalt.dir/all] Error 2
Makefile:115: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev