Re: overkill on portability macros (Jean Francois Groff)
Date: Mon, 8 Jun 92 17:32:23 +0200
From: (Jean Francois Groff)
Message-id: <>
To: Dan Connolly <>
Subject: Re: overkill on portability macros
References: <>
> But ANSI C and PCC share syntax for _defining_ functions.
> The preprocessor dancing is necessary for _declaring_ functions
> like so:
> int foo __ARGS__((int x, int y, int z));
> but in the .c files, you can just do the usual
> int foo(x,y,z)
> int x;
> int y;
> int z;

  True, but in the latter case you don't get any type checking of the
parameters in functions that happen NOT to be declared before their
definition. I agree that the syntax with extra commas is ugly, though,
but there was no better way.