I create a generic function with Export and Convention aspects. Then I instantiated this function, but it ends up in my library with the 'r' suffix. Why this happens and how can I fix this?
For example:
generic
I : int;
function Test_Generic return int
with Export => True, Convention => C;
function Test_Generic return int is
begin
return I;
end;
function Test is new Test_Generic (I => 5);
-- In library this function has name testr