Task #3047: Set required versions for GROMACS 2021
Add a Jenkins configuration with std library assert
libc++ support this with _LIBCPP_DEBUG=1 (http://releases.llvm.org/8.0.0/projects/libcxx/docs/DesignDocs/DebugMode.html#using-debug-mode). Using that found multiple real bugs: https://gerrit.gromacs.org/c/9357/ . MSVC's std-lib also supports this: https://docs.microsoft.com/en-us/cpp/standard-library/debug-iterator-support?view=vs-2017 using either debug build or _ITERATOR_DEBUG_LEVEL. But we don't have any configuration in Jenkins which enables this mode for either libc++ (_LIBCPP_DEBUG) or MSVC (_ITERATOR_DEBUG_LEVEL or Debug build). Ideally we should have one configuration for each (or test whether they both find the same set of bugs) but we should at least have one configuration.
#2 Updated by Roland Schulz over 1 year ago
It is also available in libstdc++: https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html . I looked in the wrong place in the code (not being aware of the wrapper model they use) making me think it has no significant support of this.