Skip to content

Commit 6e96cfb

Browse files
authored
Merge pull request cpp-best-practices#39 from DeveloperPaul123/patch-1
Update CompilerWarnings to include permissive-
2 parents 244a4ba + e110403 commit 6e96cfb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/CompilerWarnings.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ function(set_project_warnings project_name)
3737
/w14906 # string literal cast to 'LPWSTR'
3838
/w14928 # illegal copy-initialization; more than one user-defined
3939
# conversion has been implicitly applied
40+
/permissive- # standards conformance mode for MSVC compiler.
4041
)
4142

4243
set(CLANG_WARNINGS

0 commit comments

Comments
 (0)