Skip to content

Commit 3ce1486

Browse files
Disable -Wno-conversion on MSVC compiler (KhronosGroup#2410)
1 parent 2b77059 commit 3ce1486

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

BUILD.gn

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ if (!defined(glslang_angle)) {
7676

7777
config("glslang_public") {
7878
include_dirs = [ "." ]
79-
cflags = [ "-Wno-conversion" ]
79+
if (!is_win || is_clang) {
80+
cflags = [ "-Wno-conversion" ]
81+
}
8082
}
8183

8284
config("glslang_hlsl") {

0 commit comments

Comments
 (0)