public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH] MdeModulePkg/RegularExpressinoDxe: Fix clang error
@ 2023-10-03 15:04 Jake Garver via groups.io
  2023-10-23  4:27 ` Nhi Pham via groups.io
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jake Garver via groups.io @ 2023-10-03 15:04 UTC (permalink / raw)
  To: devel; +Cc: jian.j.wang, gaoliming, Jake Garver

Ignore old style declaration warnings in oniguruma/src/st.c.  This was
already ignored for MSFT, but newer versions of clang complain as well.

Signed-off-by: Jake Garver <jake@nvidia.com>
---
 .../Universal/RegularExpressionDxe/RegularExpressionDxe.inf      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf
index 84489c2942..0092531a67 100644
--- a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf
+++ b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf
@@ -102,6 +102,7 @@
 
   # Oniguruma: old style declaration in st.c
   MSFT:*_*_*_CC_FLAGS = /wd4131
+  GCC:*_*_*_CC_FLAGS = -Wno-deprecated-non-prototype
 
   # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int'
   MSFT:*_*_*_CC_FLAGS = /wd4305 /wd4306
-- 
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109284): https://edk2.groups.io/g/devel/message/109284
Mute This Topic: https://groups.io/mt/101735690/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-11-07 12:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-03 15:04 [edk2-devel] [PATCH] MdeModulePkg/RegularExpressinoDxe: Fix clang error Jake Garver via groups.io
2023-10-23  4:27 ` Nhi Pham via groups.io
     [not found] ` <1790A21286FB1538.11247@groups.io>
2023-11-05  7:09   ` Nhi Pham via groups.io
2023-11-06  0:59     ` 回复: " gaoliming via groups.io
2023-11-05 11:32 ` Laszlo Ersek
2023-11-06  0:59   ` 回复: " gaoliming via groups.io
2023-11-07 12:04     ` Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox