forked from ValveSoftware/source-sdk-2013
-
Notifications
You must be signed in to change notification settings - Fork 159
Open
Labels
BugSomething isn't workingSomething isn't working
Description
Describe the bug
When i'm trying to compile client or server project i getting CS2620 for m_ang and m_vec in ivscript.h file
in ScriptVariantTemporaryStorage_t union.
Steps to reproduce
Steps to reproduce the behavior:
- clone repository with git (or download as .zip)
- compile client or server project with visual studio 2013
- get error CS2620
Expected behavior
Compilation without any errors
Additional context
Using windows 11 and compiling with visual studio 2013 update v5 ( i tried to compile it with vs2022 but it gave me the same errors)
Errors that vs2013 gave me:
ScriptVariantTemporaryStorage_t::m_ang: illegal union member; type 'QAngle' has a user-defined constructor or non-trivial default constructor
ScriptVariantTemporaryStorage_t::m_vec: illegal union member; type 'Vector' has a user-defined constructor or non-trivial default constructor
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working