boost 1.48, Qt and [Parse error at "BOOST_JOIN"] error
When I switched from boost 1.47 to 1.48 I started to get multiple compile-time errors: Parse error at "BOOST_JOIN", pointing to boost/type_traits/detail/has_binary_operator.hp(50) Falling back to 1.47 made this problem go away. I found discussion about this problem here: http://thread.gmane.org/gmane.comp.lib.boost.user/71406/focus=71459 There is a solution suggested in the above thread, but it is specific to the software that the author has problems with. Risking double-post, (I posted in this thread as well), I'd like to ask for generic suggestion of fixing this problem in 1.48.
Hi qplace, On Friday, 18. November 2011 23:29:16 qplace wrote:
When I switched from boost 1.47 to 1.48 I started to get multiple compile-time errors: Parse error at "BOOST_JOIN", pointing to boost/type_traits/detail/has_binary_operator.hp(50)
Falling back to 1.47 made this problem go away.
I found discussion about this problem here: http://thread.gmane.org/gmane.comp.lib.boost.user/71406/focus=71459
There is a solution suggested in the above thread, but it is specific to the software that the author has problems with.
Well, it is specific to Qt. Q_MOC_RUN is the designed workaround for missing c++ support in the moc.
Risking double-post, (I posted in this thread as well), I'd like to ask for generic suggestion of fixing this problem in 1.48.
Well, in the aforementioned thread the TypeTraits maintainer came to the correct conclusion that this is definetely a moc bug. It simply fails to parse several type_traits header which are valid c++. So please file a bug at Qt's bugtracker for this. It would be nice if you could post the ticket number here so we can track this. Yours, Jürgen -- Dipl.-Math. Jürgen Hunold | IVE mbH Software-Entwickler | Lützerodestraße 10 Tel: +49 511 897668 33 | 30161 Hannover, Germany Fax: +49 511 897668 29 | http://www.ivembh.de juergen.hunold@ivembh.de | | Geschäftsführer: Sitz des Unternehmens: Hannover | Univ.-Prof. Dr.-Ing. Thomas Siefer Amtsgericht Hannover, HRB 56965 | PD Dr.-Ing. Alfons Radtke
Well, in the aforementioned thread the TypeTraits maintainer came to the correct conclusion that this is definetely a moc bug. It simply fails to
Jürgen Hunold
several type_traits header which are valid c++. So please file a bug at Qt's bugtracker for this. It would be nice if you could post the ticket number here so we can track this.
Yours,
Jürgen
Hi, Jurgen Here is the link to the qt bug report: https://bugreports.qt.nokia.com/browse/QTBUG-22829 I am somewhat pessimistic about a speedy response from Qt. May be the maintainer of the boost library could suggest a general workaround that can make 1.48 release compatible with 1.47 release? Otherwise I (and I think many others) will be stuck with 1.47. Please let me know if I can assist in any way. Regards, Michael.
participants (2)
-
Jürgen Hunold
-
qplace