I am trying to compile an open source library from bitbucket for various platforms. Compilation for Windows only works using the mingw-w64 / 32 4.8 compiler. Other compilers, such as tdm-gcc 5.1, fail on lines that call strcpy_s, stating that they are not defined in this area. On Linux, compilation works without problems using the standard gcc on Ubuntu 16.04. I am aware of a workaround for replacing (C ++ 11) strcpy_s with std :: strcpy.
I do not understand why this is happening because tdm-gcc is even more updated than the mingw-w64 version.
source
share