Boost logo

Boost Users :

From: Vincent Finn (yg-boost-users_at_[hidden])
Date: 2003-06-27 04:38:19


Hi,

I am using the function classes in VC6 and have hit a problem

The problem is that the compiler can't allocate enough space to build
(The error mesages are at the bottom)
Nomally you use the /ZmXXX compiler flag to make this bigger
but that doesn't work in this case

Has anyone hit this before?
Is there a simple workaround?

In case it makes a differnce the problem arises as follows
I have a template class which has instances of boost::function1 and 2
If I build with only one version of my class everything is fine
when I have more versions (I need about 12 different types) it stops

        Vin

boost_1_30_0\boost\type_traits\has_trivial_copy.hpp(31): fatal error
C1204: compiler limit : internal structure overflow
   boost_1_30_0\boost\type_traits\has_trivial_copy.hpp(43): see
reference to class template instantiation
'boost::detail::has_trivial_copy_impl<less_equal<unsigned char>>' being
compiled
   boost_1_30_0\boost\type_traits\is_stateless.hpp(31): see reference to
class template instantiation
'boost::has_trivial_copy<less_equal<unsigned char>>' being compiled
   boost_1_30_0\boost\type_traits\is_stateless.hpp(43): see reference to
class template instantiation
'boost::detail::is_stateless_impl<less_equal<unsigned char>>' being compiled
   boost_1_30_0\boost\function\function_base.hpp(193): see reference to
class template instantiation 'boost::is_stateless<less_equal<unsigned
char>>' being compiled
   boost_1_30_0\boost\function\function_template.hpp(431): see reference
to class template instantiation
'boost::detail::function::get_function_tag<less_equal<unsigned char>>'
being compiled
   boost_1_30_0\boost\function\function_template.hpp(293): see reference
to function template instantiation 'void boost::function2<bool,unsigned
char,unsigned char,int>::assign_to(less_equal<unsigned char>)' being compil
ed


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net