1_41_0 exposes macro collision with thread
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@sb.org http://stoney.sb.org/
On Dec 4, 2009, at 8:18 AM, Stonewall Ballard wrote:
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.
There's a trac ticket for this: https://svn.boost.org/trac/boost/ticket/2115 and I updated the inspection program to look for these identifiers a couple of weeks ago. Now we just have to root them all out and change them :-( -- Marshall
On Dec 4, 2009, at 11:49 AM, Marshall Clow wrote:
On Dec 4, 2009, at 8:18 AM, Stonewall Ballard wrote:
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.
There's a trac ticket for this: https://svn.boost.org/trac/boost/ticket/2115
and I updated the inspection program to look for these identifiers a couple of weeks ago.
Now we just have to root them all out and change them :-(
I'm amazed that you're planning to do that. I would have thought that would break too much user code. - Stoney -- Stonewall Ballard stoney@sb.org http://stoney.sb.org/
On Dec 4, 2009, at 10:44 AM, Stonewall Ballard wrote:
On Dec 4, 2009, at 11:49 AM, Marshall Clow wrote:
On Dec 4, 2009, at 8:18 AM, Stonewall Ballard wrote:
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.
There's a trac ticket for this: https://svn.boost.org/trac/boost/ticket/2115
and I updated the inspection program to look for these identifiers a couple of weeks ago.
Now we just have to root them all out and change them :-(
I'm amazed that you're planning to do that. I would have thought that would break too much user code.
Most of them are in "detail" namespaces and test programs. Those can be changed w/o affecting user code. The public ones .. well, we'll have to look at each of them... -- Marshall P.S. I'm not going to do it all myself, either.
participants (2)
-
Marshall Clow
-
Stonewall Ballard