This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Compiler Warning (level 1) C4042
'identifier' : has bad storage class
The specified storage class cannot be used with this identifier in this context. The compiler uses the default storage class instead:
- extern, if identifier is a function.
- auto, if identifier is a formal parameter or local variable.
- No storage class, if identifier is a global variable.
Possible cause
- Specifying a storage class other than register in a parameter declaration.