No legal interpretation for operator "="

4
Feb

Whenever you create a new numeric type, a certain number of operations are automatically added to it. Those operations are public if the type is public, but only directly accessible from another package if you specify "use <package name>;".

Other types can have operators defined, and GNAT should know about them, but instead it tells you that it doesn't know how to compare them. Adding the use clause should solve your problem.

0
Your rating: None