Skip to content

Commit 2b0b18d

Browse files
authored
Merge pull request #1148 from reyoung/feature/no_error_about_sign_compare
Make sign compare as a compile warning not error.
2 parents 5d28da4 + d2e2042 commit 2b0b18d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/flags.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ set(COMMON_FLAGS
9696
-Wno-unused-parameter
9797
-Wno-unused-function
9898
-Wno-error=literal-suffix
99+
-Wno-error=sign-compare
99100
-Wno-error=unused-local-typedefs)
100101

101102
set(GPU_COMMON_FLAGS
@@ -105,6 +106,7 @@ set(GPU_COMMON_FLAGS
105106
-Wdelete-non-virtual-dtor
106107
-Wno-unused-parameter
107108
-Wno-unused-function
109+
-Wno-error=sign-compare
108110
-Wno-error=literal-suffix
109111
-Wno-error=unused-local-typedefs
110112
-Wno-error=unused-function # Warnings in Numpy Header.

0 commit comments

Comments
 (0)