
--- Marshall Clow <marshall@idio.com> wrote:
In boost/libs/python/src/converter/registry.cpp, I found:
#if defined(__APPLE__) && defined(__MACH__) && defined(__GNUC__) \ && __GNUC__ == 3 && __GNUC_MINOR__ <= 4 && !defined(__APPLE_CC__) # define BOOST_PYTHON_CONVERTER_REGISTRY_APPLE_MACH_WORKAROUND #endif
I have no idea what defining that big long symbol does,
I put it in to work around a nasty static initialization bug. I had not clue what I was doing but thanks to the bad hack enabled by BOOST_PYTHON_CONVERTER_REGISTRY_APPLE_MACH_WORKAROUND I got Boost.Python to work under OS X 10.2 eventually. I think I was using gcc 3.3 from gcc.gnu.org at the time.
but I think that the conditionals are incorrect.
I am sure they are not pretty but they certainly did the job.
So, I think that that whole #if expression always evaluates to "false".
Nope. Install the old gcc 3.3 from gcc.gnu.org to verify. See also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14232 How did you stumble over my hack? Does it cause any problems? Cheers, Ralf __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250