Re: libstdc++ debug mode enabled in debug builds

2016-05-11 Thread Chris Peterson
Similarly, quite a few third-party libraries do not use the standard DEBUG and assert() macros. When integrating new third-party code, be sure to check whether you must define any extra macros to enable assertions in debug builds. For example, to enable assertions in the ffvp9 decoder, we had

libstdc++ debug mode enabled in debug builds

2016-05-11 Thread Nathan Froyd
libstdc++ has a "debug" mode: https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html which adds checks for iterator safety and algorithm preconditions. Bug 1270832, recently landed on inbound, turns this mode on for debug builds via our wrapped C++ headers. Please file a bug if you find