4 ms·
> If it works on Linux to mix debug-enabled objects with "release" it definitely does not. MSVC's debug mode is akin to for instance using libstdc++ with -D_G
by jcelerier 2y ago
> If it works on Linux to mix debug-enabled objects with "release"
it definitely does not. MSVC's debug mode is akin to for instance using libstdc++ with -D_GLIBCXX_DEBUG which does change the ABI. Just passing "-g" which enable debug symbols is very different from what Microsoft calls Debug mode, which adds very extensive checks at all levels of the standard library (for instance, iterators become fat objects which track provenance, algorithms check preconditions such as "the input data is sorted", etc.)
- gpderetta 2y agoNote tough that libstdc++ has an ABI compatible debug mode that still adds a significant amount debug checks (and it is meant for production deployment).