mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
Ports/acpica-tools: Ignore unknown warning options
-Wlogical-op, -Wmissing-parameter-type, and -Wold-style-declaration are unknown to Clang. While this isn't fatal by itself, it is very noisy.
This commit is contained in:
parent
1875d373e5
commit
c99c065a40
Notes:
sideshowbarker
2024-07-16 20:51:53 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/c99c065a40 Pull-request: https://github.com/SerenityOS/serenity/pull/20894
2 changed files with 32 additions and 0 deletions
|
@ -0,0 +1,24 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Tim Schumacher <timschumi@gmx.de>
|
||||
Date: Fri, 1 Sep 2023 23:07:15 +0200
|
||||
Subject: [PATCH] Ignore unknown warning options
|
||||
|
||||
`-Wlogical-op`, `-Wmissing-parameter-type`, and `-Wold-style-declaration`
|
||||
are unknown to Clang. While this isn't fatal by itself, it is very
|
||||
noisy.
|
||||
---
|
||||
generate/unix/Makefile.config | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config
|
||||
index 0deeb14115c1473ef0e1b55f6e174122ae52633d..e255cddf11ba4801daabe835e7aa2a9840825ca0 100644
|
||||
--- a/generate/unix/Makefile.config
|
||||
+++ b/generate/unix/Makefile.config
|
||||
@@ -243,6 +243,7 @@ ifneq ($(ACPI_HOST), _FreeBSD)
|
||||
-Wlogical-op\
|
||||
-Wmissing-parameter-type\
|
||||
-Wold-style-declaration\
|
||||
+ -Wno-unknown-warning-option\
|
||||
-Wtype-limits
|
||||
endif
|
||||
endif
|
|
@ -6,3 +6,11 @@ Add serenity definitions for LibC includes
|
|||
|
||||
We use the netbsd "acnetbsd.h" file here as a template.
|
||||
|
||||
## `0002-Ignore-unknown-warning-options.patch`
|
||||
|
||||
Ignore unknown warning options
|
||||
|
||||
`-Wlogical-op`, `-Wmissing-parameter-type`, and `-Wold-style-declaration`
|
||||
are unknown to Clang. While this isn't fatal by itself, it is very
|
||||
noisy.
|
||||
|
||||
|
|
Loading…
Reference in a new issue