October 1984
- 2 -
Version 1.0
MKF2C(1)
Silicon Graphics
MKF2C(1)
sometype u;
{
/*
The C function body may go here. Nothing except
the opening and closing braces are necessary.
*/
}
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
C-to-FORTRAN interface generator
/usr/bin/mkf2c
FORTRAN-to-C interface generator
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.
Summary of Contents for IRIS Workstation
Page 1: ...IRIS Workstation Guide Version 1 0 Silicon Graphics Inc Mountain View California 94043 ...
Page 6: ...2 IRIS WORKSTATION GUIDE Version 1 0 Introduction ...
Page 24: ...20 IRIS WORKSTATION GUIDE Version 1 0 Hardware Installation ...
Page 30: ...26 IRIS WORKSTATION GUIDE Version 1 0 Operation ...
Page 48: ...44 IRIS WORKSTATION GUIDE Version 1 0 System Administration ...
Page 50: ...46 IRIS WORKSTATION GUIDE Version 1 0 Appendix A ...
Page 74: ...70 IRIS WORKSTATION GUIDE Version 1 0 Appendix B ...
Page 77: ...Version 1 0 IRIS WORKSTATION GUIDE 73 Appendix C e random gr error f wnrepaint ...
Page 78: ...74 IRIS WORKSTATION GUIDE Version 1 0 Appendix C ...
Page 92: ...88 IRIS WORKSTATION GUIDE Version 1 0 Appendix D ...
Page 102: ...98 IRIS WORKSTATION GUIDE Version 1 0 Appendix E ...
Page 103: ...Appendix F Manual Pages ...
Page 104: ......
Page 131: ...Version 1 0 126 IRIS WORKSTATION GUIDE Appendix F ...
Page 132: ......
Page 136: ...130 IRIS WORKSTATION GUIDE Version 1 0 Appendix H ...
Page 152: ...146 IRIS WORKSTATION GUIDE Version 1 0 Appendix J ...