|
Boost : |
From: Eric van Riet Paap (eric_at_[hidden])
Date: 2001-03-20 06:48:46
For the release build I switched from "Automatic use of precompiled headers"
to "Not using precompiled headers" in got rid of the compile-errors.
For the debug build I also switched off "enable minimal rebuild".
cool, MSVC7 probably has more features!
Eric
----- Original Message -----
From: "David Abrahams" <abrahams_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, March 20, 2001 5:09 AM
Subject: Re: [boost] Why does MSVC6 give this message
> 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
>
>
>
>
> List-Unsubscribe: <mailto:boost-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk