Skip to content

Commit

Permalink
Suppress false-positive warining caused by O3 on gcc-8.3
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Shumilov <[email protected]>
  • Loading branch information
PetrShumilov committed Jan 30, 2025
1 parent ae93538 commit 3b5506b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third-party/curl-cmake/curl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(CURL_COMPILE_FLAGS "-O3 -Wno-deprecated-declarations")
if(COMPILER_CLANG)
set(CURL_COMPILE_FLAGS "${CURL_COMPILE_FLAGS} -Wno-string-plus-int")
else()
set(CURL_COMPILE_FLAGS "${CURL_COMPILE_FLAGS} -Wno-stringop-truncation -Wno-maybe-uninitialized")
set(CURL_COMPILE_FLAGS "${CURL_COMPILE_FLAGS} -Wno-stringop-truncation -Wno-maybe-uninitialized -Wno-stringop-overflow")
endif()

# The configuration has been based on:
Expand Down

0 comments on commit 3b5506b

Please sign in to comment.