我一直在收到这个警告:
note: expected ‘const char **’ but argument is of type ‘char **’
现在,我通过将它们转换为传递参数const char **.还有其他方法我可以摆脱它吗?
const char **
c gcc
c ×1
gcc ×1