Boost logo

Boost Users :

Subject: Re: [Boost-users] Compilation issue
From: Igor R (boost.lists_at_[hidden])
Date: 2011-07-11 10:55:51


> On an Ubuntu machine with GCC 4.5.2 and BOOST-1.42.0 I can compile without
> problems.
>
> But on a CentOS Linux using GCC 4.4.4 and BOOST-1.46.1 I obtain this error:
>
> In file included from /usr/include/boost/mpl/bind.hpp:27,
>                 from /usr/include/boost/mpl/lambda.hpp:18,
>                 from /usr/include/boost/mpl/iter_fold.hpp:20,
>                 from /usr/include/boost/variant/detail/initializer.hpp:27,
>                 from /usr/include/boost/variant/variant.hpp:28,
>                 from /usr/include/boost/variant.hpp:17,
>                 from cmdLine.cpp:31,
>                 from wrapCMCC.cpp:1:
> /usr/include/boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "("
> /usr/include/boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "("
> ...
> What does this message means?

It means you've got a syntax error in the line 31 of cmdLine.cpp source file.
You might want to look at the proprocessed source file.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net