[Boost-bugs] [Boost C++ Libraries] #10688: Fusion vector error when using Qt

Subject: [Boost-bugs] [Boost C++ Libraries] #10688: Fusion vector error when using Qt
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-23 13:24:46


#10688: Fusion vector error when using Qt
------------------------------------+---------------------
 Reporter: rlayman2000@… | Owner: djowel
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: fusion
  Version: Boost 1.56.0 | Severity: Problem
 Keywords: fusion, vector.hpp, qt |
------------------------------------+---------------------
 My code compiles fine until I added fusion to the project. I later found
 out that it is conflicting with the moc file used by Qt. I've attached an
 example to show this problem.

 /usr/include/boost/fusion/container/vector/vector.hpp:25: Error: '#' is
 not followed by a macro parameter
 AUTOGEN: error: process for /home/work/daikin/dahmi/build/src/app/main.moc
 failed:
 /usr/include/boost/fusion/container/vector/vector.hpp:25: Error: '#' is
 not followed by a macro parameter

 moc failed...
 src/app/CMakeFiles/dahmi_automoc.dir/build.make:49: recipe for target
 'src/app/CMakeFiles/dahmi_automoc' failed
 make[2]: *** [src/app/CMakeFiles/dahmi_automoc] Error 1
 CMakeFiles/Makefile2:367: recipe for target
 'src/app/CMakeFiles/dahmi_automoc.dir/all' failed
 make[1]: *** [src/app/CMakeFiles/dahmi_automoc.dir/all] Error 2
 make[1]: *** Waiting for unfinished jobs....
 /usr/include/boost/fusion/container/vector/vector.hpp:25: Error: '#' is
 not followed by a macro parameter
 AUTOGEN: error: process for
 /home/work/daikin/dahmi/build/src/lib/qml/moc_qml.cpp failed:
 /usr/include/boost/fusion/container/vector/vector.hpp:25: Error: '#' is
 not followed by a macro parameter

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10688>
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:17 UTC