
2 Oct
2008
2 Oct
'08
6:42 p.m.
In order to avoid code stripping by the compilers optimizer in certain cases, functions are exported as libraries. The libraries are never used, but without this, the compiler removes some functions which are used even though they are not explicitly referenced. Roebrt Ramey gfsdjkgf@Safe-mail.net wrote:
Hello folks
I am using boost 1.37 off the CVS with the visual studio 2008 compiler.
As soon as I instantiate an archive (of boost::serialization), the linker implicitly creates a lib and a exp file for my exe. Is that wanted behavior? Why?
//text_iarchive archive(file);
<- When this line is not commented, the linker creates the two files. This is the linker output:
'Creating library project_manager.lib and object project_manager.exp'
Thank you