Skip to content

Commit 4a19457

Browse files
committed
Fix compat with newer MSVC headers
allow using older versions of clang than 19 until mono#1942
1 parent e093f71 commit 4a19457

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Parser/ParserOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ public void SetupMSVC(VisualStudioVersion vsVersion)
160160
AddArguments("-fms-extensions");
161161
AddArguments("-fms-compatibility");
162162
AddArguments("-fdelayed-template-parsing");
163+
AddArguments("-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH");
163164
}
164165

165166
/// <summary>

0 commit comments

Comments
 (0)