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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…