Skip to content

Commit

Permalink
Disable MSVC warning C4828
Browse files Browse the repository at this point in the history
"The file contains a character starting at offset 0x____ that is illegal
in the current source character set (____)."

These are caused by included third-party headers that are not UTF-8.
Hopefully their use of non-UTF-8 characters is limited to comments.
  • Loading branch information
marktsuchida committed Jun 19, 2024
1 parent c244f60 commit 057499f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildscripts/VisualStudio/MMCommon.props
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<ItemDefinitionGroup>
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<DisableSpecificWarnings>4127;4290;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<DisableSpecificWarnings>4127;4290;4828;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ExceptionHandling>Sync</ExceptionHandling>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
Expand Down

0 comments on commit 057499f

Please sign in to comment.