This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v1.1] Use saturated arithmetic for overflow detection.


On Wed, Oct 30, 2013 at 07:33:18PM +0100, OndÅej BÃlka wrote:
> > No need for __ in macro paramater names, as each macro has its own 
> > namespace for parameter names and they can't interfere with any use of 
> > those names outside the token sequence in the #define directive.  So just 
> > call the parameters x and y.  (The variables __x and __y used within the 
> > macros *do* need the underscores.)
> >
> What if we later decide to add this as extension and some user gets idea
> to #define x y.z ?

C automatically does the right thing here. They don't interfere.

Rich


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]