Debug heap/STL debugging equivalent for GCC?

后端 未结 5 1496
梦谈多话
梦谈多话 2021-01-12 20:11

I plan on using GCC more (Linux and Windows) and I was wondering if there\'s an equivalent of the MSVC debug heap and the STL checks available for the GCC CRT and STL.

5条回答
  •  -上瘾入骨i
    2021-01-12 20:57

    The STLport version of the standard library at http://sourceforge.net/projects/stlport/ has a debug mode, which I used to use, and which is recommended by Scott Meyers in Effective STL. I haven't used it for several years now however, so I can't vouch for the current state.

    There is also a thread about GCC STL debugging here, but I once again I can't vouch for the info it gives.

提交回复
热议问题