Boost C++ Libraries: Ticket #337: Spirit does not compile on aCC https://svn.boost.org/trac10/ticket/337 <pre class="wiki">I am really interested in using boost, and especially spirit, for a project on HP-UX, but it seems the aCC compiler has got some issues with the template resolutions, even though it is a decent compiler, and very fast, compared to gcc at least. I tried to compile some of the spirit tests and here are the kind of errors I get: &gt;aCC -AA -I../../boost_1_32_0/ +W823 chset_tests.cpp Error 619: "../../boost_1_32_0/boost/spirit/core/primitives/primitives.hpp", line 40 # The definition of template result&lt;boost::spirit::anychar_parser&gt; contains typename qualification 'ScannerT::value_t', yet generation of specialization struct result&lt;boost::spirit::anychar_parser&gt; implies that 'ScannerT' is 'tentative struct anychar_parser', which does not contain a type named 'value_t'. typename parser_result&lt;self_t, ScannerT&gt;::type ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error 617: "../../boost_1_32_0/boost/spirit/core/primitives/primitives.hpp", line 40 # The definition of template result&lt;int&gt; contains typename qualification 'ScannerT::value_t', yet generation of specialization struct result&lt;int&gt; implies that 'ScannerT' is 'int', which is not a class type. typename parser_result&lt;self_t, ScannerT&gt;::type ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ It seems it does not use the proper parameters. note that aCC does not have issues usually with template, even when using several level of nesting or specialisations. any kind of help towards resolution of this issue would be greatly appreciated, thanks, maudouy@amadeus.net </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/337 Trac 1.4.3 az_sw_dude Mon, 29 May 2006 22:55:53 GMT <link>https://svn.boost.org/trac10/ticket/337#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/337#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=579686 aCC is not a regularly supported compiler for Boost -- the main reason being that, in the past anyway, it has been so broken that it is unable to handle many Boost libraries. At any rate I'm reassigning to the Spirit maintainers, but I think we should just close this one out. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Wed, 08 Nov 2006 22:42:40 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/337#comment:2 https://svn.boost.org/trac10/ticket/337#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=237817 I am closing this now. If you have further questions, The proper forum to post the problem to is Spirit's mailing list: https://lists.sourceforge.net/lists/listinfo/spirit-general </pre> Ticket