Boost logo

Boost Users :

Subject: [Boost-users] [Tokenizer] Error - Missing Binary operator
From: Collin Day (dcday137_at_[hidden])
Date: 2011-10-27 23:24:34


Hi all,

I have been trying to compile some example source code that uses the
tokenizer. I am using GCC 4.5.3 with boost 1.47. I get the following
compile error:

In file included from ../../include/boost/mpl/apply.hpp:23:0,
                 from ../../include/boost/iterator/iterator_facade.hpp:34,
                 from ../../include/boost/iterator/iterator_adaptor.hpp:15,
                 from ../../include/boost/token_iterator.hpp:21,
                 from ../../include/boost/tokenizer.hpp:20,
                 from Path.cpp:4:
../../include/boost/mpl/apply_wrap.hpp:81:31: error: missing binary
operator before token "("
../../include/boost/mpl/apply_wrap.hpp:173:31: error: missing binary
operator before token "(

I looked on the web, and everything that looks remotley like this said
it was a problem with GCC > 4.4, but was fixed in boost 1.37. I have
tried with both gcc 4.4.6 and 4.5.3. I don't think I am missing
anything since it is just an include file, but I could be wrong. any
help would be appreciated.

Thanks!


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