This is the mail archive of the
mailing list for the glibc project.
Re: [Various] libc/2757: Multiple <bits/byteswap.h> erroneusinclude
Ulrich Drepper <email@example.com> writes:
> Andreas Jaeger <firstname.lastname@example.org> writes:
>> But we also have some static inline functions in
>> e.g. sysdeps/generic/byteswap.h. Are those double declarations
>> allowed? I don't think so.
> Other headers use plain macros where the parameter gets evaluated
> multiple times. This is inconsistent and given the fact that we want
> people to use these headers the non-gcc cases in those headers should
> be fixed. And then, yes, we unfortunately need the protection.
Ok, then I'll add my patch later today and hope that the i386, ia64
and s390 headers get fixed in this way.
SuSE Labs email@example.com