Task #2462
consider adding STL misuse tests
Description
libstdc++ has a debug mode that can be useful to debug/detect incorrect STL use through enabling assertions using -D_GLIBCXX_DEBUG
and -D_GLIBCXX_DEBUG_PEDANTIC
.
We should consider using these.
History
#1 Updated by Szilárd Páll almost 3 years ago
- Private changed from Yes to No
master built with gcc 7.1 and glibc++ debug mode runs tests just fine so we cold just add the macros to one of our gcc (7) builds.