【问题标题】:Visual Studio 2012:error LNK1117: syntax error in option 'MAPINFO:LINES'Visual Studio 2012:错误 LNK1117:选项 'MAPINFO:LINES' 中的语法错误
【发布时间】:2014-08-30 07:23:37
【问题描述】:

我输入了链接器命令行:/MAPINFO:EXPORTS /MAPINFO:LINES

我得到这个错误:

error LNK1117: syntax error in option 'MAPINFO:LINES'

如何在 Visual Studio 2012 中开启MAPINFO:LINES

【问题讨论】:

  • 是什么让您相信/MAPINFO:LINES 选项在自然界中存在? The documentation 从来没有提到过这样的事情。

标签: c++ visual-studio-2012 c++11


【解决方案1】:

Microsoft 在 Visual Studio 2005 中放弃了对 /MAPINFO:LINES 选项的支持。我认为没有任何简单的替代方法。您可以使用 dbghelp 库编写一些东西来提取行号信息。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-11-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多