diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2018-10-24 16:26:05 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2020-03-25 16:12:45 -0400 |
commit | cbbe655f274195348ceadf3251c5cc1f6338cdaf (patch) | |
tree | a66e91577a6bbd818816630258208ad6013fd011 /indra/doxygen/CMakeLists.txt | |
parent | e849dfb9fa467f0c3e5a3352ec35ba212b9df22f (diff) |
DRTVWR-476: Eliminate snprintf_hack::snprintf(). Use MS snprintf().
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/snprintf-snprintf-snprintf-l-snwprintf-snwprintf-l?view=vs-2017
"Beginning with the UCRT in Visual Studio 2015 and Windows 10, snprintf is no
longer identical to _snprintf. The snprintf function behavior is now C99
standard compliant."
In other words, VS 2015 et ff. snprintf() now promises to nul-terminate the
buffer even in the overflow case, which is what snprintf_hack::snprintf() was
for.
This removal was motivated by ambiguous-call errors generated by VS 2017 for
library snprintf() vs. snprintf_hack::snprintf().
Diffstat (limited to 'indra/doxygen/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions