Skip to content

Conversation

Sirraide
Copy link
Member

These no longer compile because the warning now defaults to an error after #157364, so downgrade the error to a warning for now; I’m not familiar enough with either LLDB or MacOS to fix these warnings properly (assuming they’re unintended).

@llvmbot
Copy link
Member

llvmbot commented Sep 15, 2025

@llvm/pr-subscribers-lldb

Author: None (Sirraide)

Changes

These no longer compile because the warning now defaults to an error after #157364, so downgrade the error to a warning for now; I’m not familiar enough with either LLDB or MacOS to fix these warnings properly (assuming they’re unintended).


Full diff: https://github.com/llvm/llvm-project/pull/158756.diff

2 Files Affected:

  • (modified) lldb/test/API/functionalities/data-formatter/data-formatter-objc/Makefile (+1-1)
  • (modified) lldb/test/API/macosx/ignore_exceptions/Makefile (+1-1)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/Makefile b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/Makefile
index 8b322ff320bb0..5ef65e0c08451 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/Makefile
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/Makefile
@@ -1,6 +1,6 @@
 OBJC_SOURCES := main.m
 
-CFLAGS_EXTRAS := -w
+CFLAGS_EXTRAS := -w -Wno-error=incompatible-pointer-types
 
 
 
diff --git a/lldb/test/API/macosx/ignore_exceptions/Makefile b/lldb/test/API/macosx/ignore_exceptions/Makefile
index 695335e068c0c..14ed92da5296b 100644
--- a/lldb/test/API/macosx/ignore_exceptions/Makefile
+++ b/lldb/test/API/macosx/ignore_exceptions/Makefile
@@ -1,4 +1,4 @@
 C_SOURCES := main.c
-CFLAGS_EXTRAS := -std=c99
+CFLAGS_EXTRAS := -std=c99 -Wno-error=incompatible-pointer-types
 
 include Makefile.rules

@Sirraide Sirraide merged commit 9b95e10 into llvm:main Sep 16, 2025
11 checks passed
@Sirraide Sirraide deleted the fix-lldb-tests branch September 16, 2025 00:02
@medismailben
Copy link
Member

This fixed the issue. Thanks! https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/33239/

MrSidims added a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Sep 16, 2025
InvalidAtomicBuiltins.cl requires an update after
llvm/llvm-project#158756

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
kimsh02 pushed a commit to kimsh02/llvm-project that referenced this pull request Sep 19, 2025
… some tests (llvm#158756)

These no longer compile because the warning now defaults to an error
after llvm#157364, so downgrade the error to a warning for now; I’m not
familiar enough with either LLDB or MacOS to fix these warnings properly
(assuming they’re unintended).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants