Svante Signell <[email protected]> writes: > Another stupid question: How is the system parameter ENOMEM > communicated from s-osinte-gnu.ads to s-taprop-gnu.adb?
ENOMEM is not a variable, it is a constant, sometimes defined as a C macro in libc, in which case it cannot be imported. In GNAT it is (re-)defined as a constant by the various incarnations of the package System.OS_Interface, the spec of which is one of the files s-osinte-*.ads. > There is no with statement in the .adb file and adding with > System.OS_Interface; use System.OS_Interface; The with statement is in the spec of the package System.Task_Primitives.Operations, in s-taprop.ads, and the use statement is in the body, in the appropriate s-taprop-*.adb. You should really learn how Ada packages work :) -- Ludovic Brenta. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]
