Boost Users :
From: Yariv Tal (yariv_tal2003_at_[hidden])
Date: 2005-05-18 10:08:18
I encountered several different VC compiler limit.
I found two compiler flags that helped me solve the problems
(they may, or may not, work for this problem as well):
1) Try changing the Debug Information Format (under
"Program Database (/Zi)" (it is usually set to /ZI for edit-and-continue).
This solves several bugs in VC7 that look like memory limits even when
2) You can increase the compilers memory by using the /Zm<n> flag.
This increases memory to the percentage you define. So /Zm200 will
increase memory to double (=200%) the current amount. MS claim that
in VC7 this is only needed if you use precompiled headers.
That's what I know. Hope it helps.
"Olivier Vanden Bos" <olivier.vanden-bos_at_[hidden]> wrote in message
> It's just my signature :) (bad idea, I can see that)
> The real error is
> Fatal Error C1204 : compiler limit : internal structure overflow
> The compiler has run out of memory. Your program needs to be simplified,
> perhaps by splitting a large source code file into smaller files.
> And i found a mail about that "[Boost-users] serialization library -
> Serializing classes from a DLL", that didnt not solve my case
> (identical) but explain it :P
> It is just that the work around (splitting the file) becomes very hard
> to apply , actually i need to put one BOOST_DCL for each file !!!
> - VDB -
> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Arne Vogel
> Sent: 17 mai 2005 03:35
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] fatal error C1204 on MS .Net with boost
> Olivier Vanden Bos wrote:
> > I ve got a lot of this, i m forced to split all declarations of
> > classes in separate .cpp file.
> > In fact, Boost::serialize become unusable...
> > Does somebody have a solution ?
> > **- VDB - ** / /
> > / "//LNK2019: unresolved external symbol//"/
> > * *
> Could you be more specific about _what_ symbols are unresolved?
> - Arne Vogel
> Boost-users mailing list
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