Re: i387 floating-point test program/benchmark

From: Con Kolivas
Date: Fri Jul 29 2005 - 19:45:48 EST


On Sat, 30 Jul 2005 10:15, Puneet Vyas wrote:
> Chuck Ebbert wrote:
> >/* fp.c: i387 benchmark/test program */
>
> [puneet@localhost C]$ cc FPUtest.c -o FPUtest
>
> FPUtest.c: In function `main':
>
> FPUtest.c:103: warning: passing arg 2 of `sched_setaffinity' makes
> integer from pointer without a cast
>
> FPUtest.c:103: error: too few arguments to function `sched_setaffinity'

There are half a dozen different versions of sched_setaffinity in glibc and
they vary in argument type and even argument number across architectures.

Cheers,
Con

Attachment: pgp00000.pgp
Description: PGP signature