
Hi, I'm trying to use boost spirit for an embedded application running on mips32 hardware, compiled with a gcc 4.6.3 toolchain. The toolchain is build with newlib and libstdc++ with -fno-exceptions. When I try to include iq.hpp I get the following compiler error. In file included from /data/anielsen/boost_1_49_0/boost/spirit/home/support/utf8.hpp:17:0, from /data/anielsen/boost_1_49_0/boost/spirit/home/support/info.hpp:18, from /data/anielsen/boost_1_49_0/boost/spirit/home/qi/domain.hpp:16, from /data/anielsen/boost_1_49_0/boost/spirit/home/qi/meta_compiler.hpp:15, from /data/anielsen/boost_1_49_0/boost/spirit/home/qi/action/action.hpp:14, from /data/anielsen/boost_1_49_0/boost/spirit/home/qi/action.hpp:14, from /data/anielsen/boost_1_49_0/boost/spirit/home/qi.hpp:14, from /data/anielsen/boost_1_49_0/boost/spirit/include/qi.hpp:16, from ../../vtss_appl/misc/string.cxx:5: /data/anielsen/boost_1_49_0/boost/type_traits/make_unsigned.hpp: In instantiation of ‘boost::detail::make_unsigned_imp<wchar_t>’: /data/anielsen/boost_1_49_0/boost/type_traits/make_unsigned.hpp:130:1: instantiated from ‘boost::make_unsigned<wchar_t>’ /data/anielsen/boost_1_49_0/boost/spirit/home/support/utf8.hpp:35:52: instantiated from ‘boost::spirit::utf8_string boost::spirit::to_utf8(Char) [with Char = wchar_t, boost::spirit::utf8_string = std::basic_string<char>]’ /data/anielsen/boost_1_49_0/boost/spirit/home/support/info.hpp:54:42: instantiated from here /data/anielsen/boost_1_49_0/boost/type_traits/make_unsigned.hpp:39:1: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE<false>’ I do know that this is not the most typical setup, but I have had other problems which was solved just by adding a define, or avoid an include file. Any hints will be appreciated Regards Allan W. Nielsen