fix warning: [-Wunknown-pragmas]
/mnt/yang/vela_keystore_waring/apps/external/android/system/libhidl/base/include/hidl/HidlSupport.h:33: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] 33 | #pragma clang diagnostic push | /mnt/yang/vela_keystore_waring/apps/external/android/system/libhidl/base/include/hidl/HidlSupport.h:34: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] 34 | #pragma clang diagnostic ignored "-Wpadded" | In file included from /mnt/yang/vela_keystore_waring/apps/external/android/system/libhidl/base/include/android/hidl/base/1.0/types.h:4, from /mnt/yang/vela_keystore_waring/apps/external/android/system/libhidl/base/include/android/hidl/base/1.0/IBase.h:4, from android/hidl/base/1.0/BaseAll.cpp:1: /mnt/yang/vela_keystore_waring/apps/external/android/system/libhidl/base/include/hidl/HidlSupport.h:40: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] 40 | #pragma clang diagnostic pop | In file included from /mnt/yang/vela_keystore_waring/apps/external/android/system/libhidl/base/include/android/hidl/base/1.0/IBase.h:4, from android/hidl/base/1.0/BaseAll.cpp:1: /mnt/yang/vela_keystore_waring/apps/external/android/system/libhidl/base/include/android/hidl/base/1.0/types.h:188: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] 188 | #pragma clang diagnostic push | /mnt/yang/vela_keystore_waring/apps/external/android/system/libhidl/base/include/android/hidl/base/1.0/types.h:189: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] 189 | #pragma clang diagnostic ignored "-Wc++17-extensions" | /mnt/yang/vela_keystore_waring/apps/external/android/system/libhidl/base/include/android/hidl/base/1.0/types.h:195: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] 195 | #pragma clang diagnostic pop | CXX: LightRefBase.cpp In file included from base/HidlSupport.cpp:18: /mnt/yang/vela_keystore_waring/apps/external/android/system/libhidl/base/include/hidl/HidlSupport.h:33: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] 33 | #pragma clang diagnostic push | /mnt/yang/vela_keystore_waring/apps/external/android/system/libhidl/base/include/hidl/HidlSupport.h:34: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] 34 | #pragma clang diagnostic ignored "-Wpadded" | In file included from base/HidlSupport.cpp:18: /mnt/yang/vela_keystore_waring/apps/external/android/system/libhidl/base/include/hidl/HidlSupport.h:40: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] 40 | #pragma clang diagnostic pop Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
This commit is contained in:
parent
842b6b88d3
commit
51240c658f
15 changed files with 30 additions and 30 deletions
|
@ -251,8 +251,8 @@ endif
|
|||
|
||||
# Architecture flags
|
||||
|
||||
ARCHCFLAGS += -Wstrict-prototypes
|
||||
ARCHCXXFLAGS += -nostdinc++
|
||||
ARCHCFLAGS += -Wstrict-prototypes -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -nostdinc++ -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
ifneq ($(CONFIG_CXX_STANDARD),)
|
||||
ARCHCXXFLAGS += -std=$(CONFIG_CXX_STANDARD)
|
||||
|
|
|
@ -92,8 +92,8 @@ endif
|
|||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common -nostdinc++
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Werror
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Werror -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
ifneq ($(CONFIG_CXX_STANDARD),)
|
||||
ARCHCXXFLAGS += -std=$(CONFIG_CXX_STANDARD)
|
||||
|
|
|
@ -101,8 +101,8 @@ endif
|
|||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common -nostdinc++
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
ifneq ($(CONFIG_CXX_STANDARD),)
|
||||
ARCHCXXFLAGS += -std=$(CONFIG_CXX_STANDARD)
|
||||
|
|
|
@ -48,8 +48,8 @@ endif
|
|||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common -nostdinc++
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
ifneq ($(CONFIG_CXX_STANDARD),)
|
||||
ARCHCXXFLAGS += -std=$(CONFIG_CXX_STANDARD)
|
||||
|
|
|
@ -67,8 +67,8 @@ endif
|
|||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common -nostdinc++
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
ARCHCPUFLAGS = -mrtl-version-$(RTL_VERSION) -Wa,-rtl$(RTL_VERSION)
|
||||
ARCHCPUFLAGS += -Wa,-p -mmsg-full-path -TARG:arch=cevaxc5 -Wa,-vdiv4 -Wno-unused
|
||||
|
|
|
@ -67,8 +67,8 @@ endif
|
|||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common -nostdinc++
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
ARCHCPUFLAGS = -mrtl-version-$(RTL_VERSION) -Wa,-rtl$(RTL_VERSION)
|
||||
ARCHCPUFLAGS += -Wa,-p
|
||||
|
|
|
@ -262,8 +262,8 @@ endif
|
|||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common -nostdinc++
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
ifneq ($(CONFIG_CXX_STANDARD),)
|
||||
ARCHCXXFLAGS += -std=$(CONFIG_CXX_STANDARD)
|
||||
|
|
|
@ -74,8 +74,8 @@ endif
|
|||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common -nostdinc++
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
ifneq ($(CONFIG_CXX_STANDARD),)
|
||||
ARCHCXXFLAGS += -std=$(CONFIG_CXX_STANDARD)
|
||||
|
|
|
@ -46,8 +46,8 @@ endif
|
|||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common -nostdinc++
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
# Default toolchain
|
||||
|
||||
|
|
|
@ -57,8 +57,8 @@ endif
|
|||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common -nostdinc++
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
ifneq ($(CONFIG_CXX_STANDARD),)
|
||||
ARCHCXXFLAGS += -std=$(CONFIG_CXX_STANDARD)
|
||||
|
|
|
@ -76,8 +76,8 @@ endif
|
|||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common -nostdinc++
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
ifneq ($(CONFIG_CXX_STANDARD),)
|
||||
ARCHCXXFLAGS += -std=$(CONFIG_CXX_STANDARD)
|
||||
|
|
|
@ -79,8 +79,8 @@ endif
|
|||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common -nostdinc++
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
ifneq ($(CONFIG_CXX_STANDARD),)
|
||||
ARCHCXXFLAGS += -std=$(CONFIG_CXX_STANDARD)
|
||||
|
|
|
@ -86,8 +86,8 @@ endif
|
|||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common -nostdinc++
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
ifneq ($(CONFIG_CXX_STANDARD),)
|
||||
ARCHCXXFLAGS += -std=$(CONFIG_CXX_STANDARD)
|
||||
|
|
|
@ -86,8 +86,8 @@ endif
|
|||
ARCHCFLAGS += -fno-common
|
||||
ARCHCXXFLAGS += -fno-common -nostdinc++
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
ifneq ($(CONFIG_CXX_STANDARD),)
|
||||
ARCHCXXFLAGS += -std=$(CONFIG_CXX_STANDARD)
|
||||
|
|
|
@ -105,8 +105,8 @@ ARCHCXXFLAGS += -fvisibility=hidden
|
|||
ARCHCFLAGS += -ffunction-sections -fdata-sections
|
||||
ARCHCXXFLAGS += -ffunction-sections -fdata-sections
|
||||
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef
|
||||
ARCHCFLAGS += -Wall -Wstrict-prototypes -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
ARCHCXXFLAGS += -Wall -Wshadow -Wundef -Wno-attributes -Wno-unknown-pragmas
|
||||
|
||||
ifneq ($(CONFIG_CXX_STANDARD),)
|
||||
ARCHCXXFLAGS += -std=$(CONFIG_CXX_STANDARD)
|
||||
|
|
Loading…
Reference in a new issue