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] Fix -Wundef for FEATURE_INDEX_1.


On 05/01/2014 07:35 PM, Carlos O'Donell wrote:
> 2014-05-01  Carlos O'Donell  <carlos@redhat.com>
> 
> 	* sysdeps/x86_64/multiarch/init-arch.h:	Define FEATURE_INDEX_1 to 0.
> 	[!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.

Fixed.

commit 8f1df5cf9d8d30c0747532301dca3cf9c99fbc8e
Author: Carlos O'Donell <carlos@redhat.com>
Date:   Sat May 3 00:25:21 2014 -0400

    Fix -Wundef warning for FEATURE_INDEX_1.
    
    Define FEATURE_INDEX_1 and FEATURE_INDEX_MAX as macros
    for use by both assembly and C code. This fixes the
    -Wundef error for cases where FEATURE_INDEX_1 was not
    defined but used the correct value of 0 for an undefined
    macro.

Cheers,
Carlos.


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