Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem when compiling with 1.47 on Mac OS X 10.6.8
From: Daniel James (dnljms_at_[hidden])
Date: 2011-07-15 05:39:28


On 15 July 2011 03:03, Frank Astier <fastier_at_[hidden]> 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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net