Skip to content

Commit 5cdcf5b

Browse files
linesightclaude
andcommitted
build: drop -Wno-stringop-overflow suppressions
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent a174ae0 commit 5cdcf5b

3 files changed

Lines changed: 2 additions & 10 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,14 +301,12 @@ elseif(APPLE)
301301
else()
302302
target_compile_options(${MODULE_NAME} PRIVATE
303303
-flto -fdata-sections -ffunction-sections
304-
-Wno-stringop-overflow
305304
)
306305
target_include_directories(${MODULE_NAME} PRIVATE
307306
${GTK3_INCLUDE_DIRS}
308307
)
309308
target_link_options(${MODULE_NAME} PRIVATE
310309
-flto -Wl,--gc-sections
311-
-Wno-stringop-overflow
312310
)
313311
target_link_libraries(${MODULE_NAME} PRIVATE
314312
X11 ${GTK3_LIBRARIES}

src/client_handler/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,5 @@ endif()
3131

3232
# Common browser-process flags (Windows def block, -DNDEBUG -O3, API header
3333
# define, etc.) come from cefpython_common_flags defined in the top-level
34-
# CMakeLists. Only the Linux-specific extra is listed here.
34+
# CMakeLists.
3535
target_link_libraries(client_handler PRIVATE cefpython_common_flags)
36-
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
37-
target_compile_options(client_handler PRIVATE -Wno-stringop-overflow)
38-
endif()

src/cpp_utils/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,5 @@ target_include_directories(cpp_utils PRIVATE
1313
)
1414

1515
# Common browser-process flags come from cefpython_common_flags defined in the
16-
# top-level CMakeLists. Only the Linux-specific extra is listed here.
16+
# top-level CMakeLists.
1717
target_link_libraries(cpp_utils PRIVATE cefpython_common_flags)
18-
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
19-
target_compile_options(cpp_utils PRIVATE -Wno-stringop-overflow)
20-
endif()

0 commit comments

Comments
 (0)