|
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
project->properties->c/c++->general) to
"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
they aren't...
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.
Yariv Tal.
"Olivier Vanden Bos" <olivier.vanden-bos_at_[hidden]> wrote in message
news:930168C299A0C44D905F4B11995AD744013FD607_at_UBIMAIL2.ubisoft.org...
> 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
> serialize
>
> 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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
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