Boost logo

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.


----- 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
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:
 //code here
  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?


Boost list run by bdawes at, gregod at, cpdaniel at, john at