|
Boost : |
From: David Abrahams (abrahams_at_[hidden])
Date: 2001-03-19 23:09:50
I'm only guessing, but many of the "time-saving" options allowed by MSVC
just break mysteriously when used. I suggest turning off things like
"program database for edit and continue" and doing a clean rebuild.
Regards,
Dave
----- Original Message -----
From: "Eric van Riet Paap" <eric_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Monday, March 19, 2001 4:50 PM
Subject: [boost] Why does MSVC6 give this message
vr3.obj : fatal error LNK1179: invalid or corrupt file: duplicate comdat
"?new_wrapped_function_aux_at_detail@python_at_boost@@YAPAVfunction_at_123@U?$return_
value_select_at_X@123_at_P6AXHH@Z_at_Z"
Error executing link.exe.
--------------------
I've got a problem with boost.python and the compiler is driving me crazy :(
vr3.cpp contains a function that adds methods to a module.
I've got vr1..vr6 that add to this python module.
All six files contain:
try
{
//code here
}
catch(...)
{
python::handle_exception(); // Deal with the exception for Python
}
Sometimes the linker message goes away when I out-comment lines and
sometimes only when I remove the try..catch lines.
I got no idea what goes wrong. anyone else maybe?
Eric
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk