Skip to content

Commit 25be27e

Browse files
committed
Silence ABI warnings with GCC 14
With the previous flag, GCC 14 displays many warnings like "warning: the mangled name of ... changed between ‘-fabi-version=17’ and ‘-fabi-version=19’ [-Wabi]" I think these warnings are not useful for us. Since PCL 1.15.0 will not be ABI-compatible to PCL 1.14.1 anyway, these name changes do not matter AFAIK.
1 parent 6f64495 commit 25be27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ endif()
117117
if(CMAKE_COMPILER_IS_GNUCXX)
118118
if("${CMAKE_CXX_FLAGS}" STREQUAL "${CMAKE_CXX_FLAGS_DEFAULT}")
119119
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7)
120-
string(APPEND CMAKE_CXX_FLAGS " -Wabi=11")
120+
string(APPEND CMAKE_CXX_FLAGS " -Wabi=18")
121121
else()
122122
string(APPEND CMAKE_CXX_FLAGS " -Wabi")
123123
endif()

0 commit comments

Comments
 (0)