Skip to content

Commit 37a5192

Browse files
authored
suppress compiler errors stemming from bugged warning (#39)
1 parent 21f0520 commit 37a5192

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ set(CMAKE_CXX_STANDARD 17)
1717
set(CMAKE_CXX_STANDARD_REQUIRED ON)
1818
set(CMAKE_CXX_EXTENSIONS OFF)
1919

20+
# This warning has a false positive. See
21+
# <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108088>.
22+
add_compile_options(-Wno-error=free-nonheap-object)
23+
2024
# If we're building with clang, then use the libc++ version of the standard
2125
# library instead of libstdc++. Better coverage of build configurations.
2226
#

0 commit comments

Comments
 (0)