Bugs item #2735592, was opened at 2009-04-06 02:33
Message generated for change (Tracker Item Submitted) made by andrejsc
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=2735592&group_id=51305
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxJSON
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andrejs Cainikovs (andrejsc)
Assigned to: Nobody/Anonymous (nobody)
Summary: Build fault against wxWidgets 2.8.10
Initial Comment:
Trying to build the library under mingw with:
- RELEASE build
- UNICODE mode
- STATIC mode
- VERSION: 2.8.10
leads to compilation errors:
/home/AndrejsC/wxJSON-1.0.0/_build_/bk-deps g++ -c -o wxjson_lib_jsonreader.o
-I../include -I/mingw/include -D__WXMSW__ -mthreads -O2 ../src/jsonreader.cpp
In file included from ../include/wx/jsonreader.h:35,
from ../src/jsonreader.cpp:15:
../include/wx/jsonval.h:270: error: conflicting declaration 'typedef class
std::tr1::unordered_map<wxString, wxJSONValue, wxStringHash, wxStringEqual,
std::allocator<std::pair<const wxString, wxJSONValue> > > wxJSONInternalMap'
../include/wx/jsonval.h:40: error: 'struct wxJSONInternalMap' has a previous
declaration as 'struct wxJSONInternalMap'
../include/wx/jsonval.h:354: error: field 'm_valMap' has incomplete type
make: *** [wxjson_lib_jsonreader.o] Error 1
Environment info:
binutils-2.19.1
gcc-4.3.3-tdm-1-core
gcc-4.3.3-tdm-1-g++
mingwrt-3.15.2
w32api-3.13
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=2735592&group_id=51305
------------------------------------------------------------------------------
_______________________________________________
wxCode-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxcode-users