Marten Jan de Ruiter wrote:
The default name for a pascal procedure does not work correctly anymore. (See the output for version number and so on below).
Explicitly declaring the name works, so a workaround is available. That can be done as follows: procedure p_routine; attribute (name='P_routine')
As Eike has already stated, this is not a work-around, but the "official" way. Relying on the default linker name was never a good idea, I've been saying this for years. (And with qualified identifiers, the default linker names will (must) become different again.)
Actually, it's quite simple. If you want to link it as foo, declare it so. This way, you don't have to use these ugly first-capital names either. :-)
Frank