C compiler question
David Boles
dboles at ccwf.cc.utexas.edu
Fri May 3 04:59:27 AEST 1991
I am having a problem with the MIPS C compiler. When I compile,
I use the command cc -acpp -prototypes -p0. The p0 is there because
the C compiler seems to get confused and generates profiling info.
The main problem is that the -prototype option doesn't work correctly.
There are no warnings generated when I compile code in which the
function prototype does not match its definition! I can get by with
just the acpp preprocessor for my macros, but function prototyping
provides a very powerful way to keep your code healthy.
Any comments? When is MIPS C going to be real C (i.e. ANSI)?
--
-------------------------------------------------------------------------------
David Boles Applied Research Laboratories
dboles at ccwf.cc.utexas.edu DOS is severely brain-damaged,
apas611 at chpc.utexas.edu so just pull the plug and let it DIE.
-------------------------------------------------------------------------------
More information about the Comp.sys.sgi
mailing list