Skip to content

Commit 8322195

Browse files
committed
Define _CRT_SECURE_NO_WARNINGS for Clang-cl as well
1 parent ddc98ca commit 8322195

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

util/test.jam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ rule run-template ( test-name : sources * : files * : requirements * ) {
5050
<toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
5151
<toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
5252
<toolset>msvc:<cxxflags>"-wd4996"
53+
<toolset>clang,<target-os>windows:<define>_CRT_SECURE_NO_WARNINGS
5354
<toolset>clang:<variant>debug:<cxxflags>"-fsanitize=memory"
5455
# toolset optimizations
5556
<toolset>msvc:<cxxflags>"-Gy"

0 commit comments

Comments
 (0)