TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mike Brenner <[log in to unmask]>
Tue, 1 Dec 1998 15:04:00 -0500
text/plain (10 lines)
Tucker responds that one possibility for solving the non-portability
of the pragma stdcall under some operating systems is

   > a general capability to define a renaming for pragma arguments

Such a pragma would also solve the problem of making portable software
that can switch package bodies for different operating systems or
hardwares. A pragma USE_PACKAGE BODY ("APPLE.ADB") could be
ARGUMENT_DEFINEd to later be "NT.ADB" or "MIPS.ADB" or "SILICON_GRAPHICS.ADB".

ATOM RSS1 RSS2