Where is documentation for "new argument to _p_initialize (@)"
According the document "2 New Features of GNU Pascal," a new feature is "new argument to _p_initialize (@)," where the @ signals a backward incompatibility. However, I can't find any documentation on the new feature. I'm trying to understand the demo code in gpc_c_c.c and its related files, wherein the line _p_initialize (argc, argv, envp, 0); appears. I'm attempting to emulate the C code in Ada, and the Ada compiler tells me "too many arguments in call" when I call it with four arguments. I'm confuzzled. Does gpc_c_c.c still work, calling _p_initialize with four arguments/ Here are the relevant lines from the Ada part: procedure p_initialize; pragma Import(Convention => C, Entity => p_initialize, Link_Name => "__p_initialize"); p_initialize (Argument_Count + 1, Command_Name, null, 0); Jerry
participants (2)
-
Adriaan van Os -
lanceboyle@qwest.net