Skip to content

Commit 9459633

Browse files
committed
disabled -Wnrvo Clang warning
1 parent 808b9cf commit 9459633

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
4747
# these are not really fixable
4848
add_compile_options(-Wno-exit-time-destructors -Wno-global-constructors -Wno-weak-vtables)
4949
add_compile_options_safe(-Wno-unsafe-buffer-usage)
50+
add_compile_options_safe(-Wno-nrvo)
5051
# we are not interested in these
5152
add_compile_options(-Wno-multichar -Wno-four-char-constants)
5253
# ignore C++11-specific warning

0 commit comments

Comments
 (0)