This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs CVS 19980515, warning patch 2/4
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: egcs CVS 19980515, warning patch 2/4
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 19 May 1998 13:20:03 -0600
- cc: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <19980518224833.C19875@dot.cygnus.com>you write:
> On Mon, May 18, 1998 at 11:43:36AM -0400, Kaveh R. Ghazi wrote:
> > #ifndef PARAMS
> > -#ifdef __STDC__
> > -#define PARAMS(P) P
> > -#else
> > -#define PARAMS(P) ()
> > -#endif
> > +#define PARAMS(P) PROTO(P)
> > #endif /* !PARAMS */
>
> As a personal preference, I would like to see us use exactly one
> of these sorts of macros -- I have a hard enough time as it is
> remembering which I ought to be using.
>
> I realize that it affects a large number of lines, but it should
> be just a global search-and-replace job. Perhaps this could be
> done as a later patch?
>
> Does anyone else feel the same way?
It would certainly be nice to have just one. However, which one
to standardize on :-)
Keep in mind that gdb & gcc don't even agree on which one should
be used :(
jeff