Skip to content

Commit c0e532f

Browse files
committed
Merge branch 'devshFixes' of github.com:Devsh-Graphics-Programming/DirectXShaderCompiler into devshFixes
2 parents 042b1b5 + b8e1df1 commit c0e532f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/HandleLLVMOptions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ if( MSVC )
390390
append("-Wmissing-field-initializers" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
391391

392392
# enable warnings explicitly.
393-
append("-Wnonportable-include-path -Wunused-function" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
393+
append("-Wnonportable-include-path -Wno-unused-function" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
394394
append("-Wtrigraphs -Wconstant-logical-operand -Wunused-variable" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
395395
endif (CLANG_CL)
396396
endif (LLVM_ENABLE_WARNINGS)

0 commit comments

Comments
 (0)