This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v1.1] Use saturated arithmetic for overflow detection.
- From: Rich Felker <dalias at aerifal dot cx>
- To: OndÅej BÃlka <neleai at seznam dot cz>
- Cc: "Joseph S. Myers" <joseph at codesourcery dot com>, Paul Eggert <eggert at cs dot ucla dot edu>, libc-alpha at sourceware dot org
- Date: Wed, 30 Oct 2013 14:51:02 -0400
- Subject: Re: [PATCH v1.1] Use saturated arithmetic for overflow detection.
- Authentication-results: sourceware.org; auth=none
- References: <20131030174502 dot GA18107 at domone dot podge> <Pine dot LNX dot 4 dot 64 dot 1310301749400 dot 22878 at digraph dot polyomino dot org dot uk> <20131030183318 dot GA18706 at domone dot podge>
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