| Summary: | ieeefp.h is broken on i386 with gcc -ansi | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | brooks <brooks> | ||||||
| Component: | misc | Assignee: | Sheldon Hearn <sheldonh> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | ||||||||
| Priority: | Normal | ||||||||
| Version: | Unspecified | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
brooks
1999-12-28 01:10:01 UTC
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. State Changed From-To: open->closed I was being silly waiting for Bruce -- the MFC is obviously necessary. :-) Fixed in rev 1.1.2.2 of src/include/ieeefp.h . Responsible Changed From-To: freebsd-bugs->sheldonh I did it. |