Skip to content

Commit 739d11c

Browse files
committed
[UR] Enable warnings for empty-body
1 parent b29b23c commit 739d11c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/helpers.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ function(add_ur_target_compile_options name)
6363
-fPIC
6464
-Wall
6565
-Wpedantic
66+
-Wempty-body
6667
$<$<CXX_COMPILER_ID:GNU>:-fdiagnostics-color=always>
6768
$<$<CXX_COMPILER_ID:Clang,AppleClang>:-fcolor-diagnostics>
6869
)

0 commit comments

Comments
 (0)