accumulator problem on visual studio 7.1
Hi, Is the boost accumulators library has too deep nesting in template declaration ? I am very interested to use it, but it increases the compile time drastically (with the inclusion of header #include <boost/accumulators/statistics.hpp> and sometimes it gives \boost\boost\lambda\detail\lambda_traits.hpp(53) : fatal error C1204: compiler limit : internal structure overflow, even for a simple program like computing mean of 3 numbers. So it seems there is a very deep template recursion which exceeds the compiler template substitution limit. Has anyone faced this kind of problem ? using the boost svn head version & MSVC 7.1 thanks abir -- Abir Basak, Member IEEE B. Tech , IIT KGP Software Engineer, Read Ink Technologies
Abir Basak wrote:
Hi, Is the boost accumulators library has too deep nesting in template declaration ? I am very interested to use it, but it increases the compile time drastically (with the inclusion of header #include <boost/accumulators/statistics.hpp>
This includes all the statistical accumulators. You might have an easier time if you just include the ones you need.
and sometimes it gives \boost\boost\lambda\detail\lambda_traits.hpp(53) : fatal error C1204: compiler limit : internal structure overflow, even for a simple program like computing mean of 3 numbers.
Sounds like you don't have SP1 for msvc-7.1 installed. Can you check?
So it seems there is a very deep template recursion which exceeds the compiler template substitution limit. Has anyone faced this kind of problem ? using the boost svn head version & MSVC 7.1
If you check the 2nd to last column at http://www.boost.org/development/tests/trunk/developer/accumulators.html, you can see that Boost.Accumulators passes all its tests on msvc-7.1. I'm sure if you install SP1, you'll be all set. Good luck! -- Eric Niebler Boost Consulting www.boost-consulting.com
Eric Niebler <eric <at> boost-consulting.com> writes:
If you check the 2nd to last column at http://www.boost.org/development/tests/trunk/developer/accumulators.html, you can see that Boost.Accumulators passes all its tests on msvc-7.1. I'm sure if you install SP1, you'll be all set.
Hi, I see that you've fixed the missing is_convertible.hpp include in the parameter library. Could you close the ticket i raised about the problem @ http://svn.boost.org/trac/boost/ticket/1784 ? Thanks, Richard Webb
Richard Webb wrote:
Hi, I see that you've fixed the missing is_convertible.hpp include in the parameter library. Could you close the ticket i raised about the problem @ http://svn.boost.org/trac/boost/ticket/1784 ?
Done. -- Eric Niebler Boost Consulting www.boost-consulting.com
participants (3)
-
Abir Basak
-
Eric Niebler
-
Richard Webb