Boost logo

Boost :

Subject: [boost] [scope_exit] trunk tests fail on sun compiler
From: lcaminiti (lorcaminiti_at_[hidden])
Date: 2012-03-24 11:54:35

Hello all,

I'm trying to get ScopeExit to work on Sun.

1) First it looked like all tests fail on this compiler:

2) However, I installed Solaris Studio 12.3 on my Ubuntu 10 and it seems
that I can compile ScopeExit just fine with the following"

$ CC -I /usr/include/i386-linux-gnu/ -I ../../.. -DBOOST_TYPEOF_EMULATION

Note that:
a) Sun does not support variadic macros so only ScopeExit sequence syntax
will work.
b) Sun does not support native type-of so BOOST_TYPEOF_EMULATION needs to be

Therefore, all original ScopeExit type-of emulation tests named
`emulation_...` should compile (because they use the sequence syntax and
define BOOST_TYPEOF_EMULATION). However, they fail... why?

3) Why when I click on the "fail" link for these tests I get no information
on the Sun compiler's output?

For example:

If I follow this link I get "Error extracting file: No matching files were
found.". What does this mean?

Thanks a lot!

View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at