Finding C++ static initialization order problems

后端 未结 12 798
情话喂你
情话喂你 2020-11-22 10:10

We\'ve run into some problems with the static initialization order fiasco, and I\'m looking for ways to comb through a whole lot of code to find possible occurrences. Any s

12条回答
  •  盖世英雄少女心
    2020-11-22 10:24

    Gimpel Software (www.gimpel.com) claims that their PC-Lint/FlexeLint static analysis tools will detect such problems.

    I have had good experience with their tools, but not with this specific issue so I can't vouch for how much they would help.

提交回复
热议问题