Re: [Boost-bugs] [Boost C++ Libraries] #6687: boost.geometry and Qt macros Q_OBJECT are incompatible

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6687: boost.geometry and Qt macros Q_OBJECT are incompatible
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-30 23:22:16


#6687: boost.geometry and Qt macros Q_OBJECT are incompatible
-----------------------------------------+----------------------------------
  Reporter: andrew.naplavkov@… | Owner: barendgehrels
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: geometry
   Version: Boost 1.49.0 | Severity: Problem
Resolution: wontfix | Keywords:
-----------------------------------------+----------------------------------
Changes (by barendgehrels):

  * status: new => closed
  * resolution: => wontfix

Comment:

 This is a moc problem. See also this URL:
 https://bugreports.qt.nokia.com/browse/QTBUG-22829

 I got exactly the problem described here. Solutions or workarounds:

 1) include boost/geometry not in the headerfile, but in the source file
 2) define BOOST_TT_HAS_OPERATOR_HPP_INCLUDED, e.g. in your headerfile
 (before including boost/geometry) or as a define for the compiler

 I'm closing this now, it is related to the combination of
 moc/qobject/type_traits or moc/qobject/mpl but as far as I can see it is
 not related to Boost.Geometry itself

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6687#comment:6>
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:11 UTC