Wow -- that has survived since LAM/MPI -- you're the first person to
have ever noticed it. :-)
I *think* it's just a wrong type, but I'd prefer to file a ticket so
that someone gives it a bit more than a cursory examination before
making the change.
Thanks for pointing it out!
On Oct 10, 2007, at 9:19 PM, Stephen Guzik wrote:
> To the Devs. I just noticed that MPI::BOTTOM requires a cast. Not sure
> if that was intended.
> Compiling 'MPI::COMM_WORLD.Bcast(MPI::BOTTOM, 1, someDataType, 0);'
> results in:
> error: invalid conversion from const void* to void*
> error: initializing argument 1 of virtual void MPI::Comm::Bcast
> int, const MPI::Datatype&, int) const
> MPI_BOTTOM, on the other hand, works without a cast.
> users mailing list