MKF2C(1)
sometype u;
{
}
A complaint will be given about not understanding the type of parameter u.
It will be assumed to be a simple pointer.
FILES
/usr/bin/mkc2f
/usr/bin/mkf2c
SEE ALSO
IRIS Workstation Guide, Appendices D and E, Silicon Graphics, Inc.
extcentry(1), cc(1)
DIAGNOSTICS
Mkf2c and mkc2f are very simple-minded about diagnosing syntax errors.
They can detect such things as a formal parameter having its type declared
when it is not in the formal parameter list. A few such cases give intellig-
able error messages. The programs will complain about types they do not
understand. The default type assigned in such cases is simple pointer. Mkf2c
and mkc2f will also delete characters from FORTRAN entry names which are
illegal (e.g., underscores). The user will be warned in such instances. Most
errors that the programs detect are indicated only by the source line number.
If mkf2c or mkc2f encounter an error which they cannot remedy, they will abort,
giving the line number on which the error occurred. The resultant .s file will
be removed, and an error exit will be taken.
Because of their limited error diagnostic ability, it is advisable to use cc(1) to
determine whether the input syntax is correct before passing it to mkc2f or
mkf2c.
BUGS
mkf2c and mkc2f cannot understand the standard C type unsigned long. Since
the effect of this type combination, so far as the programs are concerned, is
the same as the C types int, long and unsigned int, one of these types should be
substituted.
October 1984
Silicon Graphics
/*
The C function body may go here. Nothing except
the opening and closing braces are necessary.
*/
C-to-FORTRAN interface generator
FORTRAN-to-C interface generator
- 2 -
MKF2C(1)
Version 1.0
Need help?
Do you have a question about the IRIS Workstation and is the answer not in the manual?