Re: BOOST_STATIC_ASSERT ?

Larry Evans <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
On 08/24/2016 07:56 AM, Jens Kallup wrote:
> Hello,
>
> I get Error:
>
>  1.
>     /usr/include/boost/type_traits/make_unsigned.hpp:38: Error: static
>     assertion failed: (::boost::type_traits::ice_or<
>     ::boost::is_integral<T>::value, ::boost::is_enum<T>::value>::value)
>  2.
>         BOOST_STATIC_ASSERT(
>  3.
>         ^
>  4.
>
>  5.
>                 symsbols  // line 544
>  6.
>                     = tok.miss_1 [ _val =
>     phx::construct<expression_ast>(1) ]
>
>
> You can follow on:
> https://github.com/paule32/dBase4Linux/blob/master/source/parser/dbase/yymain.cc
>
> Thanks for helping Hands
>
> Jens
>
Jens,

I clones the above repository about 10 min. ago and tried to compile
with the command here:

https://github.com/paule32/dBase4Linux/blob/master/source/parser/dbase/make

but modified by converting to an actual Makefile. When run, it produced
errors:

--{--cut here--
yymain.cc: In member function ‘void 
dBaseParser::ast_print::operator()(const dBaseParser::class_op&) const’:
yymain.cc:334:13: error: ‘QString’ was not declared in this scope
              QString str = expr.class_oname.c_str();
              ^
--}--cut here--

How did you avoid those error messages with the code in your repository?

-regards,
Larry



------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.