diff options
author | Dongkyun Son <dongkyun.s@samsung.com> | 2024-05-21 11:26:09 +0900 |
---|---|---|
committer | Dongkyun Son <dongkyun.s@samsung.com> | 2024-05-21 21:13:50 +0900 |
commit | ea93cf52fbf440431c9a387ea215374a37588904 (patch) | |
tree | b3b4dc5d5fc0b011278f3085491f82c9655b104b | |
parent | e83ebad695f3b6083740cde4d7c85a6166e39afe (diff) | |
download | rpm-sandbox/dkson95/gcc-14.tar.gz rpm-sandbox/dkson95/gcc-14.tar.bz2 rpm-sandbox/dkson95/gcc-14.zip |
Fix Werrors with GCC-14.1.0sandbox/dkson95/gcc-14
-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 |