trying to register a setter for a protected member i'm obtaining the following:
- Code: Select all
In file included from /usr/include/boost/iterator/iterator_categories.hpp:22:0,
from /usr/include/boost/unordered/detail/util.hpp:17,
from /usr/include/boost/unordered/detail/buckets.hpp:15,
from /usr/include/boost/unordered/detail/table.hpp:15,
from /usr/include/boost/unordered/detail/equivalent.hpp:15,
from /usr/include/boost/unordered/unordered_map.hpp:18,
from /usr/include/boost/unordered_map.hpp:17,
from /usr/local/include/QxPrecompiled.h:110,
from /usr/local/include/QxOrm.h:58,
from Headers/GSS/QxOrm/precompiled.h:4:
/usr/include/boost/lexical_cast/detail/converter_lexical.hpp: In instantiation of ‘struct boost::detail::deduce_target_char_impl<boost::detail::deduce_character_type_later<NGS::GSS::GssLiveSource::SrcEnable> >’:
/usr/include/boost/lexical_cast/detail/converter_lexical.hpp:269:89: required from ‘struct boost::detail::deduce_target_char<NGS::GSS::GssLiveSource::SrcEnable>’
/usr/include/boost/lexical_cast/detail/converter_lexical.hpp:403:92: required from ‘struct boost::detail::lexical_cast_stream_traits<std::__cxx11::basic_string<char>, NGS::GSS::GssLiveSource::SrcEnable>’
/usr/include/boost/lexical_cast/detail/converter_lexical.hpp:465:15: required from ‘struct boost::detail::lexical_converter_impl<NGS::GSS::GssLiveSource::SrcEnable, std::__cxx11::basic_string<char> >’
/usr/include/boost/lexical_cast/try_lexical_convert.hpp:173:44: required from ‘bool boost::conversion::detail::try_lexical_convert(const Source&, Target&) [with Target = NGS::GSS::GssLiveSource::SrcEnable; Source = std::__cxx11::basic_string<char>]’
/usr/include/boost/lexical_cast.hpp:41:60: required from ‘Target boost::lexical_cast(const Source&) [with Target = NGS::GSS::GssLiveSource::SrcEnable; Source = std::__cxx11::basic_string<char>]’
/usr/local/include/QxFunction/QxParameters.h:80:92: required from ‘qx_bool qx::function::detail::get_param_1(const QString&, P&, const qx::IxFunction*) [with P = NGS::GSS::GssLiveSource::SrcEnable; qx_bool = qx::QxBool]’
/usr/local/include/QxFunction/QxFunction_1.h:89:10: required from ‘static qx_bool qx::QxFunction_1<Owner, R, P1>::QxInvokerFct<T, true>::invoke(void*, const T&, boost::any*, const qx::QxFunction_1<Owner, R, P1>*) [with T = QString; Owner = NGS::GSS::GssLiveSource; R = NGS::GSS::GssLiveSource*; P1 = NGS::GSS::GssLiveSource::SrcEnable; qx_bool = qx::QxBool]’
/usr/local/include/QxFunction/QxFunction_1.h:63:4: required from ‘qx_bool qx::QxFunction_1<Owner, R, P1>::invoke(void*, const QString&, boost::any*) const [with Owner = NGS::GSS::GssLiveSource; R = NGS::GSS::GssLiveSource*; P1 = NGS::GSS::GssLiveSource::SrcEnable; qx_bool = qx::QxBool]’
src/QxOrm/ORM_LiveSource.cpp:41:1: required from here
/usr/include/boost/lexical_cast/detail/converter_lexical.hpp:242:13: error: static assertion failed: Target type is neither std::istream`able nor std::wistream`able
BOOST_STATIC_ASSERT_MSG((result_t::value || boost::has_right_shift<std::basic_istream<wchar_t>, T >::value),
The setter is taking an ENUM as the field is of that type. Shall i register the enum somehow?
Thanks