I have a C++11 project, and I added some strcpy_s
method calls.
This works on windows, but when compiling on gcc, there is an error
stating that strcpy_s
symbol is not found.
I did add the line
#define __STDC_WANT_LIB_EXT1__ 1
to the code, to no avail.
See Question&Answers more detail:os