This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit 0ddcedcf6eae7ab9dce3dfd9c4478b70873b91e6
Author: xuxin19 <[email protected]>
AuthorDate: Mon Sep 11 18:10:16 2023 +0800

    ignore specific waring on MacOS for CI break
    
    Signed-off-by: xuxin19 <[email protected]>
---
 testing/ltp/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/testing/ltp/Makefile b/testing/ltp/Makefile
index f32aab79f..27ca50107 100644
--- a/testing/ltp/Makefile
+++ b/testing/ltp/Makefile
@@ -270,6 +270,11 @@ CFLAGS += -Wno-unused-variable -Wno-unused-function 
-Wno-unused-but-set-variable
 # Should be removed if possible in the future
 CFLAGS += -Wno-incompatible-pointer-types -Wno-overflow 
-Wno-int-to-pointer-cast
 
+# Specific compilation errors ignored in MacOS platform
+ifneq ($(CONFIG_HOST_MACOS),)
+CFLAGS += -Wno-integer-overflow -Wno-absolute-value
+endif
+
 ltp-$(LTPS_VERSION).zip:
        $(call DOWNLOAD,$(LTP_DOWNLOAD_URL),$(LTPS_VERSION).zip, ltp.zip)
 

Reply via email to