|
Boost : |
From: Joel de Guzman (djowel_at_[hidden])
Date: 2003-06-19 10:54:49
Yep. Anyway, VC7.1 (VS 2003) is a joy to use with Spirit.
We've tried our best to make Spirit work with VC6. See:
http://spirit.sourceforge.net/wiki/index.php?page=Compiler+Table
Most of the modules, except the ones that use Phoenix,
works with VC6 and 7. Notice though how VC7.1 scores!
-- Joel de Guzman joel at boost-consulting.com http://www.boost-consulting.com http://spirit.sf.net Michael Walter wrote: > Visual C++ 6.0 doesn't support partial template specialization. > >> -----Original Message----- >> From: boost-bounces_at_[hidden] > [mailto:boost-bounces_at_[hidden]] >> On Behalf Of DudeSan >> Sent: Thursday, June 19, 2003 3:27 PM >> To: boost_at_[hidden] >> Subject: [boost] A problem concerning msvc++ and > boost::spirit::phoenix >> >> While I was playing around with spirit yesterday, I stumbled on >> something nasty. I'm not sure if this is the right place to report > this >> but I'll post it here anyway :) >> >> I found a calculator example >> > (http://www.oreillynet.com/network/2003/05/06/examples/calculatorexample >> .html) which includes <boost/spirit/phoenix/tuples.hpp> (not directly >> but via boost/spirit/phoenix/binders.hpp). >> >> Here I found the first occurrence; it seems that the Visual C++ 6.0 >> compiler doesn't see the difference between >> >> template <typename T> >> struct access { >> >> typedef const T& ctype; >> typedef T& type; >> }; >> >> and >> >> template <typename T> >> struct access<T&> { >> >> typedef T& ctype; >> typedef T& type; >> }; >> >> It reports "template class has already been defined as a non-template >> class", so it seems that 'template <typename T> struct access' isn't >> being recognized as a template class.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk