Tabbe 11-3 in User’s Guide (Calling Conventions Supported by the PGI Fortran Compilers) mentions varargs support for C convention. I’d like to know more details for this varargs support. Does this mean I can call a C function which has a varying number of args (like 2 args for this call and 5 args on another call)?
If you could have a small example on how to use this varargs option that would be of great help for me.
Compaq fortran also has !DEC Attributes varying:: name; does this correspond to varargs in Convention C mentioned here?
I use PGI Version 7.0-4 for Win32 (WinXP pro).
Thanks a lot