guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compilation warnings


From: Kevin Ryde
Subject: Re: compilation warnings
Date: Tue, 29 Jul 2003 08:37:34 +1000
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux)

Marius Vollmer <address@hidden> writes:
>
> Yes, please do.  The shadow warnings seem annoying, but since there
> are so few, we can just as well fix them.  I don't think using a
> global name as a parameter name in a prototype can ever hurt...

It's a good idea to omit parameter names from prototypes entirely, so
there's no chance of conflicting with an application #define.  Not
that a sensible application would be making macros out of common
lower-case names, but just for namespace cleanliness.  Of course the
same can't be done for structure fields, unfortunately.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]