bugMIT/GNU Scheme - Bugs: bug #62836, floenv compile error without...

 
 

bug #62836: floenv compile error without fegetenv

Submitter:  John F. Carr <jfc>
Submitted:  Fri 29 Jul 2022 04:28:36 PM UTC
   
 
Category:  microcode Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  cph Originator Name: 
Open/Closed:  Closed
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 29 Jul 2022 04:28:36 PM UTC, original submission:  

In floenv.c, some static functions need #ifdef protection to avoid errors about unused functions.  See attached diff.  I found this on FreeBSD 13.1 where configure failed to detect floenv and so failed to define the following macros:

HAVE_FEGETENV
HAVE_FESETEXCEPTFLAG
HAVE_FEGETEXCEPTFLAG

(In fact fegetenv is available on this OS.  If you want a spoiler for a future bug report, configure tries to compile a file with the declaration "char fegetenv ();" which is rejected by clang 14 due to -Wstrict-prototypes.)

John F. Carr <jfc>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #53486:  floenv.diff added by jfc (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cph (Updated the item)
  • -email is unavailable- added by jfc (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-06 cph StatusNone Fixed
        Assigned toNone cph
        Open/ClosedOpen Closed
    2022-07-29 jfc Attached File- Added floenv.diff, #53486

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code