Revert "[Tizen] Fix for GCC14"
authorjykeon <jykeon@samsung.com>
Tue, 18 Jun 2024 06:51:03 +0000 (15:51 +0900)
committerjykeon <jykeon@samsung.com>
Tue, 18 Jun 2024 06:51:03 +0000 (15:51 +0900)
This reverts commit 61ff81a0eeb34fdf0d6740271f17d0603858786f.

build/tizen/CMakeLists.txt
dali/internal/common/const-string.cpp

index f58f7da..49866e4 100644 (file)
@@ -169,21 +169,6 @@ ELSEIF( UNIX )
     ADD_COMPILE_OPTIONS( -Wno-cast-function-type )
   ENDIF()
 
-  CHECK_CXX_COMPILER_FLAG(-Wno-template-id-cdtor HAVE_NO_TEMPLATE_ID_CDTOR)
-  IF (HAVE_NO_TEMPLATE_ID_CDTOR)
-    ADD_COMPILE_OPTIONS( -Wno-template-id-cdtor )
-  ENDIF()
-
-  CHECK_CXX_COMPILER_FLAG(-Wno-dangling-reference HAVE_NO_DANGLING_REFERENCE)
-  IF (HAVE_NO_DANGLING_REFERENCE)
-    ADD_COMPILE_OPTIONS( -Wno-dangling-reference )
-  ENDIF()
-
-  CHECK_CXX_COMPILER_FLAG(-Wno-unused-result HAVE_NO_UNUSED_RESULT)
-  IF (HAVE_NO_UNUSED_RESULT)
-    ADD_COMPILE_OPTIONS( -Wno-unused-result )
-  ENDIF()
-
   CHECK_CXX_COMPILER_FLAG(-Wno-string-plus-int HAVE_NO_STRING_PLUS_INT)
   IF (HAVE_NO_STRING_PLUS_INT)
     ADD_COMPILE_OPTIONS( -Wno-string-plus-int )
index 64af70b..f9e7f31 100644 (file)
@@ -19,7 +19,6 @@
 #include <dali/internal/common/const-string.h>
 
 // EXTERNAL INCLUDES
-#include <cstdlib>
 #include <cstddef>
 #include <cstring>
 #include <functional>