ZeroC Ice defines its own type for floating point parameters, Ice::Float
. Therefore using plain float
does not do the job and the original method stays undefined.
Moreover, apart from using the Ice::Float
type, the argument is passed by value, not as a reference to constant, therefore you should remove the other parts in the argument declaration like const
and &
as well.
After all, the error message says it all - the method signature should look exactly like this:
void printFloat(Ice::Float, const Ice::Current&)