bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glibc-2.3.1 defines BIG_ENDIAN: naming conflict


From: Andreas Schwab
Subject: Re: glibc-2.3.1 defines BIG_ENDIAN: naming conflict
Date: Wed, 23 Oct 2002 17:17:07 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (ia64-suse-linux)

Jan Nieuwenhuizen <address@hidden> writes:

|> Niels Ferguson, a friend of mine, received bug reports from GNU/Linux
|> users for his portable twofish library
|> (http://niels.ferguson.net/code/TwofishClib.html) and asked me to look
|> into it.
|> 
|> It turned out that glibc (2.3.1) defines the macro BIG_ENDIAN when
|> string.h or memory.h is included, and gcc optimization is switched on.
|> 
|> The C99 draft standards do not seem to allow this.

Yes, but you didn't request full C99 compliance.  Use --std=c99 to enable
that.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]