[Boost-bugs] [Boost C++ Libraries] #6076: [Tokenizer] Compile error with lots of missing binary operator statments

Subject: [Boost-bugs] [Boost C++ Libraries] #6076: [Tokenizer] Compile error with lots of missing binary operator statments
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-31 16:48:43


#6076: [Tokenizer] Compile error with lots of missing binary operator statments
---------------------------------------+------------------------------------
 Reporter: dcday137@… | Owner: jsiek
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: tokenizer
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: tokenizer binary operator |
---------------------------------------+------------------------------------
 I have bee trying to build some sample code that uses the
 boost/tokenizer.hpp. When I compile, I get the following sequence of
 errors:

 make[1]: Entering directory
 `/home/collin/projects/Cpp/plugins/PluginFramework/projects/plugin_framework'
 mkdir -p build/Debug/GNU-Linux-x86
 g++ -c -g -DPF_PLATFORM_LINUX -DAPR_DECLARE_STATIC -DAPU_DECLARE_STATIC
 -I../../include/ -I../../include/darwin86 -I.. -o build/Debug/GNU-
 Linux-x86/Path.o Path.cpp
 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 "("
 In file included from ../../include/boost/mpl/bind.hpp:27:0,
                 from ../../include/boost/mpl/lambda.hpp:18,
                 from ../../include/boost/mpl/apply.hpp:25,
                 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 "("
 In file included from ../../include/boost/mpl/lambda.hpp:18:0,
                 from ../../include/boost/mpl/apply.hpp:25,
                 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/bind.hpp:364:31: error: missing binary operator
 before token "("
 ../../include/boost/mpl/bind.hpp:531:31: error: missing binary operator
 before token "("
 In file included from ../../include/boost/mpl/lambda.hpp:22:0,
                 from ../../include/boost/mpl/apply.hpp:25,
                 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/aux_/full_lambda.hpp:230:31: error: missing binary
 operator before token "("
 In file included from
 ../../include/boost/iterator/iterator_facade.hpp:34:0,
                 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.hpp:138:31: error: missing binary operator
 before token "("
 make[1]: *** [build/Debug/GNU-Linux-x86/Path.o] Error 1
 make[1]: Leaving directory
 `/home/collin/projects/Cpp/plugins/PluginFramework/projects/plugin_framework'
 make: *** [.build-impl] Error 2

 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 haven't had any luck on the
 forums.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6076>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC