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: Mark Brand <>
  • To:
  • Cc: Vivien Clauzon <>, "Laurent Rineau (GeometryFactory)" <>
  • Subject: Re: [cgal-discuss] [PATCH] prevent Qt's moc from choking on BOOST_JOIN
  • Date: Fri, 18 Nov 2011 15:41:15 +0100



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?

boost 1.48

I think I originally reported this for boost 1.47 as well, but as Vivien points out, boost 1.47 does not even have /boost/type_traits/detail/has_binary_operator.hpp. I have checked again, and only boost 1.48 shows this problem. I guess I didn't clean up properly the first time I reverted to boost 1.47.

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

This probably doesn't matter so much now that Vivien has cleared up the confusion about boost 1.47, but here it is:

mingwrt 3.20
gcc 4.6.2

I noticed the problem while updating packages in the development branch of mingw-cross-env [1]. This is an environment targetting mingw (win32) from unix. It currently has Qt 4.8.0 rc1, but after building CGAL failed, I also tried running moc from the Qt 4.7.4 opensuse RPM and got the same error.

On 11/18/2011 02:49 PM, Vivien Clauzon wrote:
Hi,

I think only boost 1.48 has a
/boost/type_traits/detail/has_binary_operator.hp

file.

Thanks for pointing that out!

regards,

Mark

[1] http://mingw-cross-env.nongnu.org/



Archive powered by MHonArc 2.6.16.

Top of Page