Fix Werrors with GCC-14.1.0 27/311427/1 accepted/tizen_9.0_base accepted/tizen_base accepted/tizen_base_asan accepted/tizen_base_x accepted/tizen_base_x_asan sandbox/dkson95/gcc-14 tizen_9.0_base tizen_base accepted/tizen/9.0/base/20241030.075211 accepted/tizen/base/20240612.043308 accepted/tizen/base/asan/20240806.090009 accepted/tizen/base/x/20240612.012347 accepted/tizen/base/x/asan/20240624.231338 tizen_9.0_m2_release
authorDongkyun Son <dongkyun.s@samsung.com>
Tue, 21 May 2024 04:17:28 +0000 (13:17 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Tue, 21 May 2024 04:19:22 +0000 (13:19 +0900)
-Wimplicit-function-declaration
-Wimplicit-int
-Wincompatible-pointer-types

https://gcc.gnu.org/gcc-14/porting_to.html

Change-Id: Idb8de4e4ca95c141b55817f9962239bf78ef3312
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
packaging/expect.spec

index 50b2ae9..0b4a58f 100644 (file)
@@ -37,6 +37,7 @@ cp %{SOURCE1001} .
 %{__patch} -p1 < %{SOURCE2}
 
 %build
+export CFLAGS+=" -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=incompatible-pointer-types "
 %reconfigure \
        --with-tcl=%_libdir \
        --with-tk=no_tk \