I am trying to compile NEC2, the C version, on an Intergraph. I get the
following Error:
"at.c", line 10: warning: a non-void function should return a value
}
^
"at.c", line 5 (col. 5): warning: parameter "n" declared and never referenced
"at.c", line 17: warning: a non-void function should return a value
}
^
"at.c", line 13 (col. 5): warning: parameter "n" declared and never referenced
Assembler: at.c
Cannot open output file, 'at.o'.
cc: pass 'a' failed.
*** Error code 127
This is what I have for at.c;
int atoi();
double atof();
int atoi_(x,j,n)
char *x;
int n,*j;
{
int i;
i = atoi(x);
*j = i;
}
double atof_(x,j,n)
char *x;
int n;
double *j;
{
*j = (atof(x));
}
Can any one help?
-- . ''' . (o o) ___ooO-(_)-Ooo________________________________________________________ Peter D. Richeson | "I don't believe in a no-win | Email: richesop_at_matrix.hv.boeing.com | scenaro." | Phone (205)461-2603 | - Admiral James T. Kirk | http://matrix.hv.boeing.com/~richesop| | ---------------------------------------------------------------------- I do not speak for any one but me, and some times not even for me. ----------------------------------------------------------------------Received on Thu Nov 30 1995 - 17:45:00 EST
This archive was generated by hypermail 2.2.0 : Sat Oct 02 2010 - 00:10:36 EDT