Skip to content

Commit f2ffe05

Browse files
Fixed SWIG compilation error on gcc 13.3.0 on linux arm64
1 parent e2fdc3d commit f2ffe05

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

local_definitions.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Override the default warning flags.
2+
# Disable GCC -O3 (aggressive static analysis) false positive when checking bounds for char sized (considered string) arrays for the auto-generated code from SWIG
3+
cu_set_warning_flags(TARGETS la_networkInterfaceHelper-csharp COMPILER GCC PRIVATE -Wno-stringop-overflow)

0 commit comments

Comments
 (0)