Date: Wed, 29 Dec 1999 03:20:02 -0800 (PST) From: Sheldon Hearn <sheldonh@uunet.co.za> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/15730: ieeefp.h is broken on i386 with gcc -ansi Message-ID: <199912291120.DAA63888@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/15730; it has been noted by GNATS. From: Sheldon Hearn <sheldonh@uunet.co.za> To: brooks@one-eyed-alien.net Cc: FreeBSD-gnats-submit@FreeBSD.ORG, bde@FreeBSD.org Subject: Re: misc/15730: ieeefp.h is broken on i386 with gcc -ansi Date: Wed, 29 Dec 1999 13:15:49 +0200 On Mon, 27 Dec 1999 17:06:33 PST, brooks@one-eyed-alien.net wrote: > The problem is two-fold. First, fpgetround(3) tells you to include > floatingpoint.h in the SYNOPSIS which is non-portable as Solaris and > Irix both seem to require that you include ieeefp.h to use the functions > described in fpgetround.3. That problem was fixed shortly after 3.4-RELEASE. :-) > Second, when attempting to include ieeefp.h instead of > floatingpoint.h, i386 is not defined so machine/floatingpoint.h is not > included and the compiler exits with errors like this: This problem was addressed in rev 1.2 of src/include/ieeefp.h, but never merged back to stable. I've copied Bruce Evans, who committed that revision, so that he can give us a thumbs up on the MFC. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912291120.DAA63888>