diff options
author | Dongkyun Son <dongkyun.s@samsung.com> | 2024-05-21 11:26:09 +0900 |
---|---|---|
committer | wang biao <biao716.wang@samsung.com> | 2024-06-04 07:09:49 +0000 |
commit | 4e00f0275c044daec5084bf0ab8cb319175cf346 (patch) | |
tree | b3b4dc5d5fc0b011278f3085491f82c9655b104b | |
parent | 1188a3e7eb996c4fa8b945ede08194a4a752de0f (diff) | |
download | rpm-4e00f0275c044daec5084bf0ab8cb319175cf346.tar.gz rpm-4e00f0275c044daec5084bf0ab8cb319175cf346.tar.bz2 rpm-4e00f0275c044daec5084bf0ab8cb319175cf346.zip |
Fix Werrors with GCC-14.1.0accepted/tizen/base/x/asan/20240624.231449accepted/tizen/base/x/20240612.012440accepted/tizen/base/toolchain/20240624.003611accepted/tizen/base/20240612.043338sandbox/wangbiao/py3_version_6_6
-Wimplicit-int
-Wimplicit-function-declaration
-Wincompatible-pointer-types
-Wint-conversion
https://gcc.gnu.org/gcc-14/porting_to.html
Change-Id: I74da101085ce85c63adec4e4bb5df92b464d746b
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 0c29311eb..da53ec0a3 100644 --- a/configure.ac +++ b/configure.ac @@ -37,7 +37,7 @@ fi AS=${AS-as} AC_SUBST(AS) if test "$GCC" = yes; then - cflags_to_try="-fno-strict-aliasing -fstack-protector-strong -Wempty-body" + cflags_to_try="-fno-strict-aliasing -fstack-protector-strong -Wempty-body -Wno-error=implicit-int -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -Wno-error=int-conversion" AC_MSG_CHECKING([supported compiler flags]) old_cflags=$CFLAGS echo |