Closed compnerd closed 1 year ago
The buffer size for _strerror and _wcserror are fixed at 94 characters. Use this to allocate the fixed size buffer and build the error message using _wcserror_s to avoid the warning as the allocation should be small enough to get stack promoted.
_strerror
_wcserror
_wcserror_s
The buffer size for
_strerror
and_wcserror
are fixed at 94 characters. Use this to allocate the fixed size buffer and build the error message using_wcserror_s
to avoid the warning as the allocation should be small enough to get stack promoted.