This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/16421] IN6_IS_ADDR_UNSPECIFIED can use undefined s6_addr32
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 05 Feb 2014 00:03:50 +0000
- Subject: [Bug network/16421] IN6_IS_ADDR_UNSPECIFIED can use undefined s6_addr32
- Auto-submitted: auto-generated
- References: <bug-16421-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=16421
--- Comment #22 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Tue, 4 Feb 2014, carlos at redhat dot com wrote:
> https://sourceware.org/bugzilla/show_bug.cgi?id=16421
>
> --- Comment #21 from Carlos O'Donell <carlos at redhat dot com> ---
> (In reply to joseph@codesourcery.com from comment #20)
> > I'd think the point of the __GNUC__ versions is to evaluate their argument
> > only once. (In the IN6_IS_ADDR_LINKLOCAL and IN6_IS_ADDR_SITELOCAL cases
> > I don't see the point, but it seems to apply to the others.)
>
> I'm curious, what benefit do you derive from that?
Generically it's seen as a good idea for macros to behave like functions
as regards side-effects in arguments occurring exactly once.
--
You are receiving this mail because:
You are on the CC list for the bug.