A repost, since no answer to my previous mail.
-----Original Message----- From: Puverle, Tomas (IT) Sent: 01 October 2004 15:05 To: 'boost@lists.boost.org' Subject: Compilation problem with boost on SunCC (Forte 6.2 & 8)
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.