Compiler Error C2097
illegal initialization
To fix by checking the following possible causes
Initialization of a variable using a nonconstant value.
Initialization of a short address with a long address.
Initialization of a local structure, union, or array with a nonconstant expression when compiling with /Za.
Initialization with an expression containing a comma operator.
Initialization with an expression that is neither constant nor symbolic.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for