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: llvm-toolchain-snapshot FTBFS hurd


Hi!

On Wed, 23 Jul 2014 18:39:39 +0200, Sylvestre Ledru <sylvestre@debian.org> wrote:
> LLVM 3.4 & 3.5 are failing to build because of:
> >
> /ÂPKGBUILDDIRÂ/build-llvm/lib/Target/PowerPC/PPCGenInstrInfo.inc:250:5:
> error: expected identifier before '(' token
> The build is failing on an auto generated enum:
> 
>     EH_SjLj_Setup       = 233,
>     EIEIO       = 234, // This line
>     EQV = 235,

EIEIO is an errno code,
<https://sourceware.org/git/?p=glibc.git;a=blob;f=manual/errno.texi;h=41d663978eb3d2c721465b8d85ba7123c4904774;hb=HEAD#l906>.
(Don't ask...)

After Â#include <errno.h>Â, such identifiers are reserved,
<http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_02_02>:

| If any header in the following table is included, macros with the
| prefixes shown may be defined. After the last inclusion of a given
| header, an application may use identifiers with the corresponding
| prefixes for its own purpose, provided their use is preceded by a #undef
| of the corresponding macro.
| 
|     Header          Prefix
|     
|     <errno.h>       E[0-9], E[A-Z]
|     [...]


GrÃÃe,
 Thomas

Attachment: pgpqH0jKRZj4C.pgp
Description: PGP signature


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