Brad (grantham++at++rum)
Mon, 26 Feb 1996 13:53:25 -0800 (PST)
This works in C++ but not ordinary C.
According to the compiler on IRIX 5.3, prototypes require identifiers.
The definition
void foo(int * /* a */, int * /* b */){}
yields
> cfe: Error: foo.c, line 1: identifier missing from parameter declaration
> void foo(int * , int * )
> ---------^
> Prototypes for function definitions require identifiers in parameter
> declarations.
> cfe: Error: foo.c, line 1: identifier missing from parameter declaration
> void foo(int * , int * )
> ------------------^
> Prototypes for function definitions require identifiers in parameter
> declarations.
-Brad
-- Brad Grantham, grantham++at++asd.sgi.com, 415-933-4993, http://www.alt.net/~grantham
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:27 PDT