Compilation problem with boost on SunCC (Forte 6.2 & 8)
A repost, since no answer to my previous mail.
Please find attached a small program and a the resulting compilation errors on SunCC. This occurs in iterator_facade.hpp, operator != (), calling to interator_core_access::equal. I have tracked this down to the following problem:
f(mpl::true_); f(mpl::false_);
f(is_convertible<>()); //will not work
is_convertible<> derives from mpl::bool<>, however it seems that a bug in the compiler prevents it from converting to mpl::true_/mpl::false_ in the above scenario (and in the program attached)
A workaround for this is to change it to the following:
f(mpl::true_); f(mpl::false_);
f(mpl::bool_
::value>()); Presumably this will be present in other places but this is the only one our developers have hit so far.
Thanks,
Tom
NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
Puverle, Tomas writes:
A repost, since no answer to my previous mail.
Tomas, I most certainly did -- http://article.gmane.org/gmane.comp.lib.boost.user/7455! -- Aleksey Gurtovoy MetaCommunications Engineering
Aleksey Gurtovoy wrote:
Puverle, Tomas writes:
A repost, since no answer to my previous mail.
Tomas,
I most certainly did -- http://article.gmane.org/gmane.comp.lib.boost.user/7455!
Apologies, I missed the reply. Please see my reply in the original thread. Tom
participants (3)
-
Aleksey Gurtovoy
-
Puverle, Tomas (IT)
-
Tomas Puverle