This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

custom_link.cmd", line 41: warning #10068-D: no matching section

我在CMD文件中明明有指定段,而且程序中也有用到,为什么还一直提示这个警告! 望大神指导!!!谢谢

程序中也用到了

  • 只有fabs会报错?其他sqrt, memcpy会报错吗?

    先试试升级一下编译器版本。
  • 其他的都不会,还有一个奇怪的现象,如果换成release模式编译后,之前在debug模式下没这个警告的突然也有警告了,

    比如

    debug模式下提示这个警告

    custom_link.cmd", line 41: warning #10068-D: no matching section

    什么都不改换成release模式下就多了两个警告

    custom_link.cmd", line 35: warning #10068-D: no matching section
    custom_link.cmd", line 36: warning #10068-D: no matching section
    custom_link.cmd", line 41: warning #10068-D: no matching section

    请问什么原因?