Add compiler options for gcc13 71/307871/1 accepted/tizen/unified/x/20240314.073509
authorDongsun Lee <ds73.lee@samsung.com>
Thu, 14 Mar 2024 02:18:58 +0000 (11:18 +0900)
committerDongsun Lee <ds73.lee@samsung.com>
Thu, 14 Mar 2024 02:18:58 +0000 (11:18 +0900)
Change-Id: I50fa2b2252574420d08d26b6015d4abb8bbf04ca

CMakeLists.txt

index 63281596af19c72b203e2cd5fd1977fe13ee71a7..d036c5e0895b056a9b3927d0922e0455c93697f3 100644 (file)
@@ -44,6 +44,8 @@ ADD_DEFINITIONS("-Wextra")                      # Generate even more extra warni
 ADD_DEFINITIONS("-pedantic")                    # Be pedantic
 ADD_DEFINITIONS("-pedantic-errors")             # Make pedantic warnings into errors
 ADD_DEFINITIONS("-Wshadow")
+ADD_DEFINITIONS("-Wno-array-bounds")            # To avoid issues from gcc13 default compiler option
+ADD_DEFINITIONS("-Wno-stringop-overflow")       # To avoid issues from gcc13 default compiler option
 
 IF (CMAKE_BUILD_TYPE MATCHES "DEBUG")
     ADD_DEFINITIONS("-DTIZEN_DEBUG_ENABLE")