RE: [Boost-users] fatal error C1204 on MS .Net with boost serialize
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@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Arne Vogel Sent: 17 mai 2005 03:35 To: boost-users@lists.boost.org 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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
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"
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@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Arne Vogel Sent: 17 mai 2005 03:35 To: boost-users@lists.boost.org 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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
"Olivier Vanden Bos"
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.
Have you tried using: #define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP in your translation unit previous to any serialization header inclusions? Jeff Flinn
Look at the command line switches used by bjam for this platform. Also, the 1.32 and 1.33 packages include premade VC 7 projects with command line switches set. Look at them. Definitely use /Zm800 among others. Robert Ramey Olivier Vanden Bos wrote:
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@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Arne Vogel Sent: 17 mai 2005 03:35 To: boost-users@lists.boost.org 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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (4)
-
Jeff Flinn
-
Olivier Vanden Bos
-
Robert Ramey
-
Yariv Tal