https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65999
Bug ID: 65999 Summary: c11 compliance - fopen_s not supported Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: darlingm at gmail dot com Target Milestone: --- Microsoft implemented fopen_s some time ago. According to http://en.cppreference.com/w/c/io/fopen, it was made part of the C11 standard. (Forgive me if they're wrong.) GCC v5.1.0 doesn't seem to support it. grep fopen_s -r * through its source finds nothing. grep'ing through /usr/include (gcc 4.9.2) and /usr/local/include (gcc 5.1.0) only finds it in /usr/include/wine/msvcrt/{stdio.h & wchar.h}