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

When building Google_MathFu emits warning C2220 on MSVC #56

Open
nnfdnkns opened this issue Aug 11, 2022 · 0 comments
Open

When building Google_MathFu emits warning C2220 on MSVC #56

nnfdnkns opened this issue Aug 11, 2022 · 0 comments

Comments

@nnfdnkns
Copy link

nnfdnkns commented Aug 11, 2022

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]

@nnfdnkns nnfdnkns changed the title When building Google_MathFu emits errors C2220 on MSVC When building Google_MathFu emits warning C2220 on MSVC Aug 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant