Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.
This repository was archived by the owner on May 6, 2024. It is now read-only.

When building Google_MathFu emits warning C2220 on MSVC #56

@nnfdnkns

Description

@nnfdnkns

Hi, all
Google_MathFu fails to build on MSVC due to warning C2220 Could you help look?
Environment:
Windows: windows server 2019
VS: 2019

Repro steps:
1.git clone https://github.com/google/mathfu F:\gitP\google\mathfu
2. mkdir build_amd64 & cd F:\gitP\google\mathfu\build_amd64
3. set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64
4. cd F:\gitP\google\mathfu\build_amd64
5. msbuild /p:Platform=x64 /p:Configuration=Release mathfu.sln /t:Rebuild 2>&1
Expected
build successfully.

Source
No response

Custom changes or Modules
the commit of Google_MathFu we use is da23a12

error message:
F:\gitP\google\mathfu\unit_tests\quaternion_test\quaternion_test.cpp(117,32): error C2220: the following warning is treated as an error [F:\gitP\google\mathfu\build_amd64\unit_tests\quaternion_no_simd_tests.vcxproj]
F:\gitP\google\mathfu\unit_tests\quaternion_test\quaternion_test.cpp(117,32): error C2220: the following warning is treated as an error [F:\gitP\google\mathfu\build_amd64\unit_tests\quaternion_simd_no_padding_tests.vcxproj]
F:\gitP\google\mathfu\unit_tests\quaternion_test\quaternion_test.cpp(117,32): error C2220: the following warning is treated as an error [F:\gitP\google\mathfu\build_amd64\unit_tests\quaternion_simd_padding_tests.vcxproj]
F:\gitP\google\mathfu\unit_tests\quaternion_test\quaternion_test.cpp(117,32): error C2220: the following warning is treated as an error [F:\gitP\google\mathfu\build_amd64\unit_tests\quaternion_tests.vcxproj]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions