Opened 12 years ago
Closed 12 years ago
#4324 closed Bugs (fixed)
gccxml compilation error
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | config |
Version: | Boost 1.44.0 | Severity: | Showstopper |
Keywords: | Cc: |
Description
~> cat trivial.h #include <boost/optional.hpp> ~> gccxml trivial.h -I ~boost
~/Developer/Tests/gccxml> gccxml -I ~boost boost_optional_failure.h
In file included from /Users/luc/Developer/cctbx/boost/boost/type_traits/is_convertible.hpp:25,
from /Users/luc/Developer/cctbx/boost/boost/type_traits/is_enum.hpp:19, from /Users/luc/Developer/cctbx/boost/boost/type_traits/is_scalar.hpp:13, from /Users/luc/Developer/cctbx/boost/boost/type_traits/is_pod.hpp:14, from /Users/luc/Developer/cctbx/boost/boost/type_traits/has_trivial_constructor.hpp:14, from /Users/luc/Developer/cctbx/boost/boost/type_traits/has_nothrow_constructor.hpp:12, from /Users/luc/Developer/cctbx/boost/boost/optional/optional.hpp:25, from /Users/luc/Developer/cctbx/boost/boost/optional.hpp:15, from boost_optional_failure.h:1:
/Users/luc/Developer/cctbx/boost/boost/type_traits/is_abstract.hpp:90: error: expected identifier before 'sizeof' /Users/luc/Developer/cctbx/boost/boost/type_traits/is_abstract.hpp:90: error: expected ',' or '...' before 'sizeof' /Users/luc/Developer/cctbx/boost/boost/type_traits/is_abstract.hpp:90: error: ISO C++ forbids declaration of 'static_assert' with no type In file included from /Users/luc/Developer/cctbx/boost/boost/optional/optional.hpp:26,
from /Users/luc/Developer/cctbx/boost/boost/optional.hpp:15, from boost_optional_failure.h:1:
/Users/luc/Developer/cctbx/boost/boost/type_traits/type_with_alignment.hpp:206: error: 'found' is not a type /Users/luc/Developer/cctbx/boost/boost/type_traits/type_with_alignment.hpp:206: error: expected ',' or '...' before '>=' token /Users/luc/Developer/cctbx/boost/boost/type_traits/type_with_alignment.hpp:206: error: ISO C++ forbids declaration of 'static_assert' with no type /Users/luc/Developer/cctbx/boost/boost/type_traits/type_with_alignment.hpp:207: error: 'found' is not a type /Users/luc/Developer/cctbx/boost/boost/type_traits/type_with_alignment.hpp:207: error: expected ',' or '...' before '%' token /Users/luc/Developer/cctbx/boost/boost/type_traits/type_with_alignment.hpp:207: error: ISO C++ forbids declaration of 'static_assert' with no type
Please find a patch attached.
Attachments (1)
Change History (2)
by , 12 years ago
Attachment: | gccxml-boost-config.diff added |
---|
comment:1 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [62666]) Disable all C++0x features in GCC-XML for now. Fixes #4324.