Boost logo

Boost Users :

Subject: [Boost-users] 1_41_0 exposes macro collision with thread
From: Stonewall Ballard (sb.list_at_[hidden])
Date: 2009-12-04 11:18:04


Just a heads-up that since 1_41_0 removes libs/thread/src/pthread/exceptions.cpp file from the thread library (its now header-only), it's exposed to any precompiled headers with XCode. If you're using Carbon or (I think) CoreFoundation, that defines a macro named "check", which causes compilation errors in exception/diagnostic_information.cpp.

I've had to add #undef check in files that include boost to eliminate this problem.

 - Stoney

-- 
Stonewall Ballard 
stoney_at_[hidden]           http://stoney.sb.org/

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net