[Boost-bugs] [Boost C++ Libraries] #4324: gccxml compilation error

Subject: [Boost-bugs] [Boost C++ Libraries] #4324: gccxml compilation error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-09 13:26:08


#4324: gccxml compilation error
---------------------------------------------------+------------------------
 Reporter: Luc J Bourhis <luc_j_bourhis@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: config
  Version: Boost 1.44.0 | Severity: Showstopper
 Keywords: |
---------------------------------------------------+------------------------
 ~> 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4324>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC