|
Boost Users : |
Subject: [Boost-users] Problem when compiling with 1.47 on Mac OS X 10.6.8
From: Frank Astier (fastier_at_[hidden])
Date: 2011-07-14 22:03:35
must have done something very silly, but code that used compiled fine now gives me:
g++ -gfull -Wall -Werror -fexceptions -DDEBUG_TP -Ddarwin86 -I./ -Itp_datastruct/ -Iutil/ -I/usr/local/include -I/Users/frank/Sandbox/work -c -o objs/Profile.o tp_datastruct/Profile.cpp
In file included from /usr/local/include/boost/type_traits/is_class.hpp:16,
from /usr/local/include/boost/type_traits/is_abstract.hpp:55,
from /usr/local/include/boost/type_traits/is_convertible.hpp:25,
from /usr/local/include/boost/type_traits/is_enum.hpp:19,
from /usr/local/include/boost/type_traits/is_signed.hpp:15,
from /usr/local/include/boost/type_traits/make_unsigned.hpp:14,
from /usr/local/include/boost/lexical_cast.hpp:33,
from tp_datastruct/AttributeValue.h:13,
from tp_datastruct/Profile.h:10,
from tp_datastruct/Profile.cpp:3:
/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
Any idea??
fastier_at_[hidden]
Frank
fastier_at_[hidden]
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