Hi.
.
Debian build failed (with official wx-3.0.2 libs) : here are the last build lines
/bin/bash ../../libtool --tag=CXX --mode=compile i686-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/i386-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -Wdate-time -D_FORTIFY_SOURCE=2 -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -g -O2 -fdebug-prefix-map=/home/xavier/codeblocks/sources=. -fstack-protector-strong -Wformat -Werror=format-security -Winvalid-pch -fPIC -fexceptions -c -o cbart_provider.lo cbart_provider.cpp
libtool: compile: i686-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/i386-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I../../src/include/scripting/include -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/scripting/bindings -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -I../../src/include/mozilla_chardet/mfbt -I../../src/include/mozilla_chardet/nsprpub/pr/include -I../../src/include/mozilla_chardet/xpcom -I../../src/include/mozilla_chardet/xpcom/base -I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF -Wdate-time -D_FORTIFY_SOURCE=2 -DCB_PRECOMP -DPIC -I../../src/include/tinyxml -DTIXML_USE_STL=YES -g -O2 -fdebug-prefix-map=/home/xavier/codeblocks/sources=. -fstack-protector-strong -Wformat -Werror=format-security -Winvalid-pch -fPIC -fexceptions -c cbart_provider.cpp -fPIC -DPIC -o .libs/cbart_provider.o
In file included from /usr/include/c++/6/bits/hashtable.h:35:0,
from /usr/include/c++/6/unordered_map:47,
from ../../src/include/cbart_provider.h:5,
from cbart_provider.cpp:3:
/usr/include/c++/6/bits/hashtable_policy.h: In instantiation of ‘struct std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> >’:
/usr/include/c++/6/type_traits:143:12: required from ‘struct std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > >’
/usr/include/c++/6/type_traits:154:38: required from ‘struct std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
/usr/include/c++/6/bits/unordered_map.h:100:66: required from ‘class std::unordered_map<wxString, wxString>’
../../src/include/cbart_provider.h:38:22: required from here
/usr/include/c++/6/bits/hashtable_policy.h:85:34: error: no match for call to ‘(const std::hash<wxString>) (const wxString&)’
noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6/bits/move.h:57:0,
from /usr/include/c++/6/bits/stl_pair.h:59,
from /usr/include/c++/6/bits/stl_algobase.h:64,
from /usr/include/c++/6/bits/char_traits.h:39,
from /usr/include/c++/6/string:40,
from /usr/include/wx-3.0/wx/stringimpl.h:66,
from /usr/include/wx-3.0/wx/unichar.h:15,
from /usr/include/wx-3.0/wx/strvararg.h:22,
from /usr/include/wx-3.0/wx/string.h:46,
from /usr/include/wx-3.0/wx/memory.h:15,
from /usr/include/wx-3.0/wx/object.h:19,
from /usr/include/wx-3.0/wx/wx.h:15,
from /usr/include/wx-3.0/wx/wxprec.h:58,
from ./sdk_common.h:37,
from ./sdk_precomp.h:13,
from ./sdk.h:17:
/usr/include/c++/6/type_traits: In instantiation of ‘struct std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’:
/usr/include/c++/6/bits/unordered_map.h:100:66: required from ‘class std::unordered_map<wxString, wxString>’
../../src/include/cbart_provider.h:38:22: required from here
/usr/include/c++/6/type_traits:154:38: error: ‘value’ is not a member of ‘std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > >’
: public integral_constant<bool, !_Pp::value>
^~~~
In file included from /usr/include/c++/6/unordered_map:48:0,
from ../../src/include/cbart_provider.h:5,
from cbart_provider.cpp:3:
/usr/include/c++/6/bits/unordered_map.h: In instantiation of ‘class std::unordered_map<wxString, wxString>’:
../../src/include/cbart_provider.h:38:22: required from here
/usr/include/c++/6/bits/unordered_map.h:100:66: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef __umap_hashtable<_Key, _Tp, _Hash, _Pred, _Alloc> _Hashtable;
^~~~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:107:45: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::key_type key_type;
^~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:108:47: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::value_type value_type;
^~~~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:109:48: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::mapped_type mapped_type;
^~~~~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:110:43: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::hasher hasher;
^~~~~~
/usr/include/c++/6/bits/unordered_map.h:111:46: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::key_equal key_equal;
^~~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:112:51: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::allocator_type allocator_type;
^~~~~~~~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:117:45: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::pointer pointer;
^~~~~~~
/usr/include/c++/6/bits/unordered_map.h:118:50: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::const_pointer const_pointer;
^~~~~~~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:119:47: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::reference reference;
^~~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:120:52: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::const_reference const_reference;
^~~~~~~~~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:121:46: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::iterator iterator;
^~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:122:51: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::const_iterator const_iterator;
^~~~~~~~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:123:51: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::local_iterator local_iterator;
^~~~~~~~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:124:57: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::const_local_iterator const_local_iterator;
^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:125:47: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::size_type size_type;
^~~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:126:52: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
typedef typename _Hashtable::difference_type difference_type;
^~~~~~~~~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:280:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
operator=(initializer_list<value_type> __l)
^~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:379:2: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
emplace(_Args&&... __args)
^~~~~~~
/usr/include/c++/6/bits/unordered_map.h:549:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
insert(const value_type& __x)
^~~~~~
/usr/include/c++/6/bits/unordered_map.h:556:2: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
insert(_Pair&& __x)
^~~~~~
/usr/include/c++/6/bits/unordered_map.h:616:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
insert(initializer_list<value_type> __l)
^~~~~~
/usr/include/c++/6/bits/unordered_map.h:881:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
equal_range(const key_type& __x)
^~~~~~~~~~~
/usr/include/c++/6/bits/unordered_map.h:885:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<wxString> >, std::__detail::__is_noexcept_hash<wxString, std::hash<wxString> > > >’
equal_range(const key_type& __x) const
^~~~~~~~~~~
cbart_provider.cpp: In member function ‘void cbArtProvider::AddMapping(const wxString&, const wxString&)’:
cbart_provider.cpp:17:15: error: no match for ‘operator[]’ (operand types are ‘cbArtProvider::MapStockIdToPath {aka std::unordered_map<wxString, wxString>}’ and ‘const wxString’)
m_idToPath[stockId] = fileName;
^
cbart_provider.cpp: In member function ‘virtual wxBitmap cbArtProvider::CreateBitmap(const wxArtID&, const wxArtClient&, const wxSize&)’:
cbart_provider.cpp:26:54: error: ‘cbArtProvider::MapStockIdToPath {aka class std::unordered_map<wxString, wxString>}’ has no member named ‘find’
MapStockIdToPath::const_iterator it = m_idToPath.find(id);
^~~~
cbart_provider.cpp:27:9: error: ‘it’ was not declared in this scope
if (it == m_idToPath.end())
^~
cbart_provider.cpp:27:26: error: ‘cbArtProvider::MapStockIdToPath {aka class std::unordered_map<wxString, wxString>}’ has no member named ‘end’
if (it == m_idToPath.end())
^~~
cbart_provider.cpp:34:42: error: ‘it’ was not declared in this scope
const wxString filepath = m_prefix + it->second;
^~