
That was it. I removed /usr/local/include/boost and /usr/local/lib/libboost*, reinstalled and it's now all fine. Thanks! Frank fastier@yahoo.com On Jul 15, 2011, at 2:39 AM, Daniel James wrote:
On 15 July 2011 03:03, Frank Astier
wrote: : /usr/local/include/boost/type_traits/is_union.hpp:38: error: expected primary-expression before ')' token /usr/local/include/boost/type_traits/is_union.hpp:38: error: a function call cannot appear in a constant-expression
Line 38 of that file is a comment. It might be that something has gone wrong with the installation, and you've still got the old version of that header. Try comparing it to:
http://www.boost.org/doc/libs/1_47_0/boost/type_traits/is_union.hpp http://www.boost.org/doc/libs/1_46_1/boost/type_traits/is_union.hpp _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users