mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-01 13:44:21 +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
|
@ -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.
|
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