Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] [PATCH] prevent Qt's moc from choking on BOOST_JOIN

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] [PATCH] prevent Qt's moc from choking on BOOST_JOIN


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] [PATCH] prevent Qt's moc from choking on BOOST_JOIN
  • Date: Fri, 18 Nov 2011 10:36:37 +0100
  • Organization: GeometryFactory

Le vendredi 18 novembre 2011 00:47:13 Mark Brand a écrit :
> Hi,
>
> When building CGAL in mingw-cross-env, I noticed that the build failed
> if Qt happened to be present. This turned out to be caused by Qt's moc
> choking on a Boost header:
>
> <includedir>/boost/type_traits/detail/has_binary_operator.hp:50:
> Parse error at "BOOST_JOIN"
>
> I have seen this with Qt 4.8.0 and Qt 4.7.4.

I Mark,

Thanks for the report. I am surprised, because I use Qt-4.8 and boost-1.47,
and the g++ compiler on Linux and I do not see that error. I would like to
reproduce the bug before I apply you patch.

- What version of Boost was involved?
- And what version of mingw?
- You talk about cross-compiling? What was the target-OS, and what was the
host-OS?

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.16.

Top of Page