This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: Fix ia64/sys/ucontext.h für g++ 3.5


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~


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