[C++-sig] Memory corruption in exception translation on OS X 10.7

2011-10-26 Thread Jakob van Santen
Hi all, I've run across what I think is a strange memory corruption bug affecting C++/Python exception translation on OS X 10.7. A short program that reproduces the bug follows: #include static void throwme() { throw std::invalid_argument("Bork!"); } struct Bork { void throwy() { thr

Re: [C++-sig] failed to install boost.python on Lion

2011-10-26 Thread Nat Goodspeed
On Oct 26, 2011, at 9:54 AM, Liguo Kong wrote: > I am trying to install boost.python on Mac Lion OS. I used python 2.6 > installed by default and > built boost.build with ./bootstrap.sh --set-toolset=gcc and then ./b2 install > --prefix=~/workspace/boost_build. Uh, maybe toolset=darwin?___

[C++-sig] failed to install boost.python on Lion

2011-10-26 Thread Liguo Kong
Hello, I am trying to install boost.python on Mac Lion OS. I used python 2.6 installed by default and built boost.build with *./bootstrap.sh --set-toolset=gcc *and then *./b2 install --prefix=~/workspace/boost_build*. The gcc version is "gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM bui