On 02/25/2010 08:51 AM, Arnaud Charlet wrote:
The main "mangling" (in Ada parlance, we talk rather about "encoding") that is performed by GNAT is to handle packages ("namespace" in C++) and to differentiate overloaded functions (and there, a simple counter is all that is needed).
One of the advantages of "mangling" overloaded functions C++-style, instead of using a simple counter is that the latter makes it basically impossible to define a stable ABI.
Paolo