implicit snprintf declaration warning
silentbicycle opened this issue · comments
Scott Vokes commented
The -D_POSIX_C_SOURCE=1 define appears to exclude snprintf's prototype from stdio.h in some environments. Figure out if there's a different POSIX version that should be used, or another define that is also needed.
Greg Williams commented
This issue is resolved by pull request #3
Need to additionally define -D_DARWIN_C_SOURCE=1 for Clang to re-enable snprintf declaration when -D_POSIX_C_SOURCE=1 is set.
Scott Vokes commented
Closed by pull request #3.