[test] Failing on Darwin

Gennadiy, Boost.Test is failing on Darwin with: http://tinyurl.com/37983b I'm attaching a message from the Boost-testing list that explains a workaround. I'm guessing that maybe sigemptyset is a macro on this platform, and that conflicts with the :: qualifier? Thanks, John.

John Maddock wrote:
Gennadiy,
Boost.Test is failing on Darwin with: http://tinyurl.com/37983b
I'm attaching a message from the Boost-testing list that explains a workaround. I'm guessing that maybe sigemptyset is a macro on this platform, and that conflicts with the :: qualifier? You are correct. I put this change into the trunk to fix Darwin:
http://svn.boost.org/trac/boost/changeset/40365 However, Gennadiy reverted part of that change as part of a fix for Sun's compiler shortly thereafter: http://svn.boost.org/trac/boost/changeset/40449 Isn't portability *fun*? - Doug

Douglas Gregor <dgregor <at> osl.iu.edu> writes:
John Maddock wrote:
Gennadiy,
Boost.Test is failing on Darwin with: http://tinyurl.com/37983b
I'm attaching a message from the Boost-testing list that explains a workaround. I'm guessing that maybe sigemptyset is a macro on this platform, and that conflicts with the :: qualifier? You are correct. I put this change into the trunk to fix Darwin:
http://svn.boost.org/trac/boost/changeset/40365
However, Gennadiy reverted part of that change as part of a fix for Sun's compiler shortly thereafter:
http://svn.boost.org/trac/boost/changeset/40449
Isn't portability *fun*?
I think it's my fault. I've been merging different version of boost test with different fixes and I might have reverted this by mistake. Please remove it again. Gennadiy

On Oct 29, 2007, at 10:21 AM, Gennadiy Rozental wrote:
Douglas Gregor <dgregor <at> osl.iu.edu> writes:
John Maddock wrote:
Gennadiy,
Boost.Test is failing on Darwin with: http://tinyurl.com/37983b
I'm attaching a message from the Boost-testing list that explains a workaround. I'm guessing that maybe sigemptyset is a macro on this platform, and that conflicts with the :: qualifier? You are correct. I put this change into the trunk to fix Darwin:
http://svn.boost.org/trac/boost/changeset/40365
However, Gennadiy reverted part of that change as part of a fix for Sun's compiler shortly thereafter:
http://svn.boost.org/trac/boost/changeset/40449
Isn't portability *fun*?
I think it's my fault. I've been merging different version of boost test with different fixes and I might have reverted this by mistake.
The Sun compiler/platform has other problems with the test library, so it doesn't seem that the '::' is needed before 'sigemptyset' for this compiler/platform.
Please remove it again.
Okay, done. - Doug
participants (4)
-
Doug Gregor
-
Douglas Gregor
-
Gennadiy Rozental
-
John Maddock