Penalty of the MSVS compiler flag /bigobj

前端 未结 1 1006
慢半拍i
慢半拍i 2020-12-29 18:18

The basic Google search bigobj issue shows that a lot of people are experiencing the Fatal Error C1128: \"number of sections exceeded object file format limit : compile

相关标签:
1条回答
  • 2020-12-29 18:23

    The documentation does mention an important drawback to /bigobj:

    Linkers that shipped prior to Visual C++ 2005 cannot read .obj files that were produced with /bigobj.

    So, setting this option by default would restrict the number of linkers that can consume the resulting object files. Better to activate it on a need-to basis.

    0 讨论(0)
提交回复
热议问题