Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiler error: The "constexpr" constructor does not initialize all members #17

Open
lqzer opened this issue Oct 22, 2018 · 0 comments

Comments

@lqzer
Copy link

lqzer commented Oct 22, 2018

When I compiled Box Demo, I got the following error: "error C2476: "constexpr" constructor does not initialize all members"

1>c:\program files (x86)\windows kits\10\include\10.0.14393.0\um\directxpackedvector.h(50): error C2476: “constexpr”构造函数不会初始化所有成员
1> c:\program files (x86)\windows kits\10\include\10.0.14393.0\um\directxpackedvector.h(41): note: 构造函数未初始化“DirectX::PackedVector::XMCOLOR::::b”
1> c:\program files (x86)\windows kits\10\include\10.0.14393.0\um\directxpackedvector.h(42): note: 构造函数未初始化“DirectX::PackedVector::XMCOLOR::::g”
1> c:\program files (x86)\windows kits\10\include\10.0.14393.0\um\directxpackedvector.h(43): note: 构造函数未初始化“DirectX::PackedVector::XMCOLOR::::r”
1> c:\program files (x86)\windows kits\10\include\10.0.14393.0\um\directxpackedvector.h(44): note: 构造函数未初始化“DirectX::PackedVector::XMCOLOR::::a”
1>c:\program files (x86)\windows kits\10\include\10.0.14393.0\um\directxpackedvector.h(80): error C2476: “constexpr”构造函数不会初始化所有成员
1> c:\program files (x86)\windows kits\10\include\10.0.14393.0\um\directxpackedvector.h(73): note: 构造函数未初始化“DirectX::PackedVector::XMHALF2::::x”
1> c:\program files (x86)\windows kits\10\include\10.0.14393.0\um\directxpackedvector.h(74): note: 构造函数未初始化“DirectX::PackedVector::XMHALF2::::y”

My development environment is Windows10, VS2015 Community

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant