Hi,
I am a newbie to all this programmer stuff. I am a physics
student doing some computer simulations.
I was trying to use the special function atanh from boost libraries
but couldn't.
The error message reads
d:\boost_1_28_0\atanh.hpp(77) : error C2989: 'atanh_helper1_t
This sounds like the error I get for attempting partial template
instantiation, which is not supported by VC++ compiler. I don't even
believe it's supported in VC.Net, so I don't think an upgrade will help
much.
That's my understanding of the situation. Someone correct me if I'm wrong.
I hope that I am ;)
Jeff
-----Original Message-----
From: sen_al2002 [mailto:sen_al2002@yahoo.com]
Sent: Wednesday, August 14, 2002 4:11 PM
To: Boost-Users@yahoogroups.com
Subject: [Boost-Users] Upgrade VisC++ compiler
Hi,
I am a newbie to all this programmer stuff. I am a physics
student doing some computer simulations.
I was trying to use the special function atanh from boost libraries
but couldn't.
The error message reads
d:\boost_1_28_0\atanh.hpp(77) : error C2989: 'atanh_helper1_t
On Wednesday 14 August 2002 07:11 pm, sen_al2002 wrote:
Hi, I am a newbie to all this programmer stuff. I am a physics student doing some computer simulations. I was trying to use the special function atanh from boost libraries but couldn't.
The error message reads d:\boost_1_28_0\atanh.hpp(77) : error C2989: 'atanh_helper1_t
' : template class has already been defined as a non-template class Some advised me to update my VisC++ ver 6.0 compiler.
How can I do that?
Does anybody out there have any better advise?
Unfortunately, there really isn't any better advice at this time. The special functions library (including atanh) requires a compiler that supports class template partial specialization. Unfortunately, no publicly available version of the Microsoft C++ compiler supports partial specialization, so this won't work with your compiler, and upgrading won't even help. (Unless "upgrading" to you involves switching to another compiler vendor) Doug
Somewhere in the E.U., le 19/08/2002 Bonjour So it appears that even in version 7, M$VCPP still will not work... One possibility is to change compiler vendors (MetroWerks' CodeWarrior Pro, now in version 8, should do the trick). This is, of course, onerous to you. If that is not a realistic possibility, and this code is vital to you, please holler (and complain *LOUDLY* to M$!) and I'll code a work-around. A bientot Hubert Holin Hubert.Holin@Bigfoot.com Douglas Gregor wrote:
On Wednesday 14 August 2002 07:11 pm, sen_al2002 wrote:
Hi, I am a newbie to all this programmer stuff. I am a physics student doing some computer simulations. I was trying to use the special function atanh from boost libraries but couldn't.
The error message reads d:\boost_1_28_0\atanh.hpp(77) : error C2989: 'atanh_helper1_t
' : template class has already been defined as a non-template class Some advised me to update my VisC++ ver 6.0 compiler.
How can I do that?
Does anybody out there have any better advise?
Unfortunately, there really isn't any better advice at this time. The special functions library (including atanh) requires a compiler that supports class template partial specialization. Unfortunately, no publicly available version of the Microsoft C++ compiler supports partial specialization, so this won't work with your compiler, and upgrading won't even help. (Unless "upgrading" to you involves switching to another compiler vendor)
Doug
Somewhere in the E.U., le 20/08/2002 Bonjour I made some changes which would presumably make your compiler happy without compromising the quality for its betters. I'll try to have them tested (at least in version 7 of that compiler) so they can appear in the upcomming release. A bientot Hubert Holin Hubert.Holin@Bigfoot.com sen_al2002 wrote:
Hi, I am a newbie to all this programmer stuff. I am a physics student doing some computer simulations. I was trying to use the special function atanh from boost libraries but couldn't.
The error message reads d:\boost_1_28_0\atanh.hpp(77) : error C2989: 'atanh_helper1_t
' : template class has already been defined as a non-template class Some advised me to update my VisC++ ver 6.0 compiler.
How can I do that?
Does anybody out there have any better advise?
Thanks
sen
participants (4)
-
Douglas Gregor
-
Hubert HOLIN
-
Jeff Faust
-
sen_al2002