freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] * builds/windows/vc2010/freetype.vcxpro


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] * builds/windows/vc2010/freetype.vcxproj: Suppress C4267 on _WIN64.
Date: Sun, 05 Mar 2023 21:16:05 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

  • 70946f6d
    by Alexei Podtelezhnikov at 2023-03-05T16:08:14-05:00
    * builds/windows/vc2010/freetype.vcxproj: Suppress C4267 on _WIN64.
    
    This usually comes from `strlen` returning 64-bit `size_t`, which
    we often assign to 32-bit `FT_ULong` on Windows-64 (LLP64).
    

1 changed file:

Changes:

  • builds/windows/vc2010/freetype.vcxproj
    ... ... @@ -168,7 +168,7 @@
    168 168
           <WarningLevel>Level4</WarningLevel>
    
    169 169
           <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    
    170 170
           <CompileAs>Default</CompileAs>
    
    171
    -      <DisableSpecificWarnings>4001</DisableSpecificWarnings>
    
    171
    +      <DisableSpecificWarnings>4001;4267</DisableSpecificWarnings>
    
    172 172
           <MultiProcessorCompilation>true</MultiProcessorCompilation>
    
    173 173
           <ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
    
    174 174
           <InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
    
    ... ... @@ -195,7 +195,7 @@
    195 195
           <WarningLevel>Level4</WarningLevel>
    
    196 196
           <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    
    197 197
           <CompileAs>Default</CompileAs>
    
    198
    -      <DisableSpecificWarnings>4001</DisableSpecificWarnings>
    
    198
    +      <DisableSpecificWarnings>4001;4267</DisableSpecificWarnings>
    
    199 199
           <MultiProcessorCompilation>true</MultiProcessorCompilation>
    
    200 200
           <ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
    
    201 201
           <InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
    
    ... ... @@ -248,7 +248,7 @@
    248 248
           <WarningLevel>Level4</WarningLevel>
    
    249 249
           <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    
    250 250
           <CompileAs>Default</CompileAs>
    
    251
    -      <DisableSpecificWarnings>4001</DisableSpecificWarnings>
    
    251
    +      <DisableSpecificWarnings>4001;4267</DisableSpecificWarnings>
    
    252 252
           <MultiProcessorCompilation>true</MultiProcessorCompilation>
    
    253 253
           <ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
    
    254 254
           <InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
    
    ... ... @@ -274,7 +274,7 @@
    274 274
           <WarningLevel>Level4</WarningLevel>
    
    275 275
           <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    
    276 276
           <CompileAs>Default</CompileAs>
    
    277
    -      <DisableSpecificWarnings>4001</DisableSpecificWarnings>
    
    277
    +      <DisableSpecificWarnings>4001;4267</DisableSpecificWarnings>
    
    278 278
           <MultiProcessorCompilation>true</MultiProcessorCompilation>
    
    279 279
           <ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
    
    280 280
           <InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
    
    ... ... @@ -328,7 +328,7 @@
    328 328
           <DisableLanguageExtensions>true</DisableLanguageExtensions>
    
    329 329
           <WarningLevel>Level4</WarningLevel>
    
    330 330
           <CompileAs>Default</CompileAs>
    
    331
    -      <DisableSpecificWarnings>4001</DisableSpecificWarnings>
    
    331
    +      <DisableSpecificWarnings>4001;4267</DisableSpecificWarnings>
    
    332 332
           <MultiProcessorCompilation>true</MultiProcessorCompilation>
    
    333 333
           <EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
    
    334 334
           <IntrinsicFunctions>true</IntrinsicFunctions>
    
    ... ... @@ -356,7 +356,7 @@
    356 356
           <DisableLanguageExtensions>true</DisableLanguageExtensions>
    
    357 357
           <WarningLevel>Level4</WarningLevel>
    
    358 358
           <CompileAs>Default</CompileAs>
    
    359
    -      <DisableSpecificWarnings>4001</DisableSpecificWarnings>
    
    359
    +      <DisableSpecificWarnings>4001;4267</DisableSpecificWarnings>
    
    360 360
           <MultiProcessorCompilation>true</MultiProcessorCompilation>
    
    361 361
           <IntrinsicFunctions>true</IntrinsicFunctions>
    
    362 362
         </ClCompile>
    
    ... ... @@ -409,7 +409,7 @@
    409 409
           <DisableLanguageExtensions>true</DisableLanguageExtensions>
    
    410 410
           <WarningLevel>Level4</WarningLevel>
    
    411 411
           <CompileAs>Default</CompileAs>
    
    412
    -      <DisableSpecificWarnings>4001</DisableSpecificWarnings>
    
    412
    +      <DisableSpecificWarnings>4001;4267</DisableSpecificWarnings>
    
    413 413
           <MultiProcessorCompilation>true</MultiProcessorCompilation>
    
    414 414
           <EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
    
    415 415
           <IntrinsicFunctions>true</IntrinsicFunctions>
    
    ... ... @@ -435,7 +435,7 @@
    435 435
           <DisableLanguageExtensions>true</DisableLanguageExtensions>
    
    436 436
           <WarningLevel>Level4</WarningLevel>
    
    437 437
           <CompileAs>Default</CompileAs>
    
    438
    -      <DisableSpecificWarnings>4001</DisableSpecificWarnings>
    
    438
    +      <DisableSpecificWarnings>4001;4267</DisableSpecificWarnings>
    
    439 439
           <MultiProcessorCompilation>true</MultiProcessorCompilation>
    
    440 440
           <IntrinsicFunctions>true</IntrinsicFunctions>
    
    441 441
         </ClCompile>
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]