Boost C++ Libraries: Ticket #411: Another config correction for Sun C++ https://svn.boost.org/trac10/ticket/411 <pre class="wiki">Current versions of Sun C++ do not support general expressions of non-type template parameters in instantiations. (Expressions of the form J+n and J-n are supported, where J is an integral template parameter and n is a constant.) We plan to support this feature in the next compiler release. The following correction takes care of 42 of the tests in the BOOST test suite: *** boost/spirit/core/composite/epsilon.hpp.old Tue Jun 14 12:47:56 2005 --- boost/spirit/core/composite/epsilon.hpp Tue Jun 14 11:00:17 2005 *************** *** 59,65 **** CondT cond; }; ! #if BOOST_WORKAROUND(BOOST_MSVC, == 1310) // VC 7.1 template &lt;typename CondT&gt; inline condition_parser&lt;CondT, false&gt; operator~(condition_parser&lt;CondT, true&gt; const&amp; p) --- 59,65 ---- CondT cond; }; ! #if BOOST_WORKAROUND(BOOST_MSVC, == 1310) || BOOST_WORKAROUND(__SUNPRO_CC, &lt;= 0x580) template &lt;typename CondT&gt; inline condition_parser&lt;CondT, false&gt; operator~(condition_parser&lt;CondT, true&gt; const&amp; p) I've attached a complete corrected version of epsion.hpp. Steve Clamage stephen.clamage@sun.com </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/411 Trac 1.4.3 Joel de Guzman Wed, 15 Jun 2005 12:16:01 GMT <link>https://svn.boost.org/trac10/ticket/411#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/411#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=237817 Can't download the attachment. It's truncated. I tried both Firefox and IE. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>martin_wille</dc:creator> <pubDate>Fri, 06 Jan 2006 10:34:17 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/411#comment:2 https://svn.boost.org/trac10/ticket/411#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=592361 I changed the preprocessor condition as suggested by Steve. </pre> Ticket