This is the mail archive of the libc-alpha@sources.redhat.com 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: [Various] libc/2757: Multiple <bits/byteswap.h> erroneusinclude


Ulrich Drepper <drepper@redhat.com> writes:

> Andreas Jaeger <aj@suse.de> 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.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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