Fix ia64/sys/ucontext.h für g++ 3.5

Richard Henderson rth@twiddle.net
Sat Sep 4 01:58:00 GMT 2004


On Wed, Sep 01, 2004 at 08:53:38PM +0200, Jakub Jelinek wrote:
> Can't it just use the hardcoded value (0xc8 or what was it) and
> do a glibc compile time check somewhere that it is the correct value?

That does seem the best solution.

If you can't use offsetof, then eventually this code will break in C,
with -pedantic, as soon as Joseph Myers gets around to fixing the 
parser wrt integer constant expressions.


r~



More information about the Libc-hacker mailing list