Boost C++ Libraries: Ticket #4324: gccxml compilation error https://svn.boost.org/trac10/ticket/4324 <p> ~&gt; cat trivial.h #include &lt;boost/optional.hpp&gt; ~&gt; gccxml trivial.h -I ~boost </p> <blockquote> <p> ~<a class="missing wiki">/Developer/Tests</a>/gccxml&gt; gccxml -I ~boost boost_optional_failure.h </p> </blockquote> <p> In file included from /Users/luc/Developer/cctbx/boost/boost/type_traits/is_convertible.hpp:25, </p> <blockquote> <p> 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: </p> </blockquote> <p> /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, </p> <blockquote> <p> from /Users/luc/Developer/cctbx/boost/boost/optional.hpp:15, from boost_optional_failure.h:1: </p> </blockquote> <p> /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 '&gt;=' 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 </p> <p> Please find a patch attached. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4324 Trac 1.4.3 Luc J Bourhis <luc_j_bourhis@…> Wed, 09 Jun 2010 13:28:47 GMT attachment set https://svn.boost.org/trac10/ticket/4324 https://svn.boost.org/trac10/ticket/4324 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">gccxml-boost-config.diff</span> </li> </ul> Ticket John Maddock Wed, 09 Jun 2010 15:45:52 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4324#comment:1 https://svn.boost.org/trac10/ticket/4324#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/62666" title="Disable all C++0x features in GCC-XML for now. Fixes #4324.">[62666]</a>) Disable all C++0x features in GCC-XML for now. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4324" title="#4324: Bugs: gccxml compilation error (closed: fixed)">#4324</a>. </p> Ticket