Frédéric Bron wrote:
I am having exactly the same problem, compiling boost+Qt sources with 1.48 release of boost. What might be of interest for everyone having this problem is that in my case I don't explicitly specify #include
in code. It might be used in some other boost headers that I have plenty in my code. It would help if somebody could give the output of the preprocessor. With g++, just add -E option and compile one failing file. This may help understand the error with BOOST_JOIN. Is there #undef BOOST_JOIN somewhere? Frédéric
Hi Frédéric, It's not the C++ preprocessor, but Qt's moc that chokes on BOOST_JOIN. The workaround I proposed to the CGAL list at https://lists-sop.inria.fr/sympa/arc/cgal-discuss/2011-11/msg00087.html just instructs the moc preprocessor to skip the #include that introduces BOOST_JOIN. Mark