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: Vivien Clauzon <>
  • To:
  • Subject: Re: [cgal-discuss] [PATCH] prevent Qt's moc from choking on BOOST_JOIN
  • Date: Fri, 18 Nov 2011 14:49:59 +0100

Hi,

I think only boost 1.48 has a

/boost/type_traits/detail/has_binary_operator.hp

file.

Best regards.

NUMTECH Vivien CLAUZON
Ingénieur d'études et de recherche
6, allée Alan Turing - BP 30242 - Parc Technologique de la Pardieu
63175 AUBIERE Cedex - FRANCE
Tél: 33 (0)4 73.28.75.95 - Fax: 33 (0)4.73.28.75.99
Web: http://www.numtech.fr

Le 18/11/2011 10:36, Laurent Rineau (GeometryFactory) a écrit :
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?




Archive powered by MHonArc 2.6.16.

Top of Page