Opened 17 years ago
Closed 17 years ago
#411 closed Bugs (None)
Another config correction for Sun C++
Reported by: | clamage45 | Owned by: | martin_wille |
---|---|---|---|
Milestone: | Component: | None | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
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
Change History (2)
comment:2 by , 17 years ago
Status: | assigned → closed |
---|
Logged In: YES user_id=592361 I changed the preprocessor condition as suggested by Steve.
Note:
See TracTickets
for help on using tickets.