Open jason-c-daniels opened 7 years ago
It can be enabled with -DUSE_SECURE_STRINGS. This requires C99 to work.
And an MSVC placating USE_FOPEN_S, used to pass secure compilation checks in VS2015. This requires, of course, MSVC.
However, it's interesting to note that C11 is supposed to support fopen_s. Yet GCC didn't appear to honor this when compiling with -std=c11.
fopen_s
Source: http://en.cppreference.com/w/c/io/fopen
It can be enabled with -DUSE_SECURE_STRINGS. This requires C99 to work.
And an MSVC placating USE_FOPEN_S, used to pass secure compilation checks in VS2015. This requires, of course, MSVC.
However, it's interesting to note that C11 is supposed to support
fopen_s
. Yet GCC didn't appear to honor this when compiling with -std=c11.Source: http://en.cppreference.com/w/c/io/fopen