makecontext and its arguments
Andreas Jaeger
aj@suse.de
Mon Aug 5 10:10:00 GMT 2002
Ulrich Drepper <drepper@redhat.com> writes:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andreas Schwab wrote:
>
>> IMHO this is a defect in the standard, because "integer" can mean
>> anything from char to long long and whatever extended integer type might
>> be defined. It does not restrict the arguments to type "int".
>
> I tend to agree. We use long for that reason. It's the most useful
> interpretation of "integer".
That interpretation of long causes problems for x86-64 since ints are
not sign extented when passed in varargs...
So, what can I do?
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list