Modify

Ticket #4324 (closed Bugs: fixed)

Opened 4 years ago

Last modified 4 years ago

gccxml compilation error

Reported by: Luc J Bourhis <luc_j_bourhis@…> Owned by: johnmaddock
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

gccxml-boost-config.diff Download (331 bytes) - added by Luc J Bourhis <luc_j_bourhis@…> 4 years ago.

Change History

Changed 4 years ago by Luc J Bourhis <luc_j_bourhis@…>

comment:1 Changed 4 years ago by johnmaddock

  • Status changed from new to closed
  • Resolution set to fixed

(In [62666]) Disable all C++0x features in GCC-XML for now. Fixes #4324.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.