bug-mit-scheme
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #62836] floenv compile error without fegetenv


From: John F. Carr
Subject: [bug #62836] floenv compile error without fegetenv
Date: Fri, 29 Jul 2022 12:28:37 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62836>

                 Summary: floenv compile error without fegetenv
                 Project: MIT/GNU Scheme
               Submitter: jfc
               Submitted: Fri 29 Jul 2022 04:28:36 PM UTC
                Category: microcode
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                Keywords: 


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 29 Jul 2022 04:28:36 PM UTC By: John F. Carr <jfc>
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.)







    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Fri 29 Jul 2022 04:28:36 PM UTC  Name: floenv.diff  Size: 1KiB   By: jfc

<http://savannah.gnu.org/bugs/download.php?file_id=53486>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62836>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]