From: wchang kim Date: Mon, 3 Jul 2023 03:44:53 +0000 (+0900) Subject: Fixed the build error using gcc 13 X-Git-Tag: accepted/tizen/unified/20230712.040710~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F09%2F295109%2F1;p=platform%2Fcore%2Fuifw%2Fautofill-daemon.git Fixed the build error using gcc 13 Change-Id: I92752e43bab04f2b54b51ae0d97aef7f15f30bec --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ffcd2f..b206a8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,7 @@ FOREACH(flag ${pkgs_test_CFLAGS}) ENDFOREACH(flag) ADD_DEFINITIONS("-DEXPORTED=__attribute__((visibility(\"default\")))") +ADD_DEFINITIONS("-Wno-maybe-uninitialized") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,relro -fPIE -pie") SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie")