[PATCH] Fix -Wundef for FEATURE_INDEX_1.
Carlos O'Donell
carlos@redhat.com
Sat May 3 04:28:00 GMT 2014
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.
More information about the Libc-alpha
mailing list