Closed j-s-ashley closed 3 weeks ago
I wouldn't spend too much time on this right now, as while warnings are useful things to fixup, this isn't fundamentally blocking for the time being.
Notice also how the signatures between sprintf
and snprintf
aren't the same:
int sprintf ( char * str, const char * format, ... );
int snprintf ( char * s, size_t n, const char * format, ... );
so this isn't something that can get fixed with a simple
git grep --name-only "sprintf" | xargs sed -i 's/sprintf/snprintf/g'
as the signatures would need an additional argument.
Debugging efforts are currently being slowed by a number of the following deprecation warnings:
warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.
Only occurs on MacOS builds.