|
Boost : |
From: Paul A. Bristow (boost_at_[hidden])
Date: 2003-12-15 07:50:33
:-(((
It likes "math::pi_value" even less than "pi_value"!
(nor, unsurprisingly, boost::math::pi_value)
Example.cpp
Example.cpp(88) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 2701)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Does it object to referring to self - the struct pi_value being defined?
Paul
PS It also moans about constants not being F and L where appropriate but I have
dealt with that.
| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]]On Behalf Of Daniel Frey
| Sent: Monday, December 15, 2003 10:34 AM
| To: boost_at_[hidden]
| Subject: [boost] Re: [constant] Milestone 2 of the constant library
| added to filessection
|
|
| Paul A. Bristow wrote:
| >
| > | - The VC7.1 has not been tested, but it'll probably fail. At least the
| > | former versions did. If you can make it work, please tell me what I
| > | have to change. Tested are GCC 3.3.2 and Intel 7.1.
| >
| > Your pessimism is justified :-((
| >
| > Compiling... MSVC 7.1
| > Example.cpp
| > Example.cpp(19) : error C3200: 'boost::math::pi_value<T>' : invalid template
| > argument for template parameter 'F', expected a class template
| > Example.cpp(19) : see reference to class template instantiation
| > 'boost::math::pi_value<T>' being compiled
| > Example.cpp(83) : fatal error C1903: unable to recover from
| previous error(s);
| > stopping compilation
| > [...]
| > Any suggestions?
|
| I thought about this and I think that the VC++ is probably correct on
| this one. Could you please try to replace line 18 from:
|
| template< typename T > struct pi_value :
| constant_value< pi_value, T > {};
|
| to
|
| template< typename T > struct pi_value :
| constant_value< math::pi_value, T > {};
|
| TIA.
|
| Regards, Daniel
|
| --
| Daniel Frey
|
| aixigo AG - financial solutions & technology
| Schloß-Rahe-Straße 15, 52072 Aachen, Germany
| fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99
| eMail: daniel.frey_at_[hidden], web: http://www.aixigo.de
|
|
| _______________________________________________
| Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
|
|
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk