[Boost-bugs] [ boost-Bugs-1220782 ] Another config correction for Sun C++

Bugs item #1220782, was opened at 2005-06-14 14:46 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1220782&group_id=7586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Stephen Clamage (clamage45) Assigned to: Nobody/Anonymous (nobody) Summary: Another config correction for Sun C++ Initial Comment: 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 <typename CondT> inline condition_parser<CondT, false> operator~(condition_parser<CondT, true> const& p) --- 59,65 ---- CondT cond; }; ! #if BOOST_WORKAROUND(BOOST_MSVC, == 1310) || BOOST_WORKAROUND(__SUNPRO_CC, <= 0x580) template <typename CondT> inline condition_parser<CondT, false> operator~(condition_parser<CondT, true> const& p) I've attached a complete corrected version of epsion.hpp. Steve Clamage stephen.clamage@sun.com ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1220782&group_id=7586 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net