[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63617] Failure to build with Clang 15 on macOS (x86-64)
From: |
anonymous |
Subject: |
[bug #63617] Failure to build with Clang 15 on macOS (x86-64) |
Date: |
Wed, 4 Jan 2023 05:07:58 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?63617>
Summary: Failure to build with Clang 15 on macOS (x86-64)
Project: libsigsegv
Submitter: None
Submitted: Wed 04 Jan 2023 10:07:56 AM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 04 Jan 2023 10:07:56 AM UTC By: Anonymous
Building from source with Clang 15.0.6 on macOS (x86-64) yields the following
error:
./handler-macos.c:512:55: error: incompatible integer to pointer conversion
assigning to 'void *' from '__uint64_t
' (aka 'unsigned long long') [-Wint-conversion]
161 new_esp -= sizeof (void *); *(void **)new_esp =
SIGSEGV_FRAME_POINTER (thread_state); /* push %rbp */
With Clang 15, this warning is now an error:
"The -Wint-conversion warning diagnostic for implicit int <-> pointer
conversions now defaults to an error in all C language modes. It may be
downgraded to a warning with -Wno-error=int-conversion, or disabled entirely
with -Wno-int-conversion."
See https://releases.llvm.org/15.0.0/tools/clang/docs/ReleaseNotes.html
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63617>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #63617] Failure to build with Clang 15 on macOS (x86-64),
anonymous <=