зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1270832 - turn on debug mode for libstdc++ headers; r=glandium
This commit is contained in:
Родитель
3a4d7b486c
Коммит
ba6687453e
|
@ -43,14 +43,12 @@
|
|||
|
||||
#endif
|
||||
|
||||
#if defined(DEBUG) && !defined(_GLIBCXX_DEBUG)
|
||||
// Don't enable debug mode with the clang plugin; clang doesn't recognize
|
||||
// the debug/ versions of the stdlib headers as being system headers, leading
|
||||
// to complaints about code that's out of our control.
|
||||
#if defined(DEBUG) && !defined(_GLIBCXX_DEBUG) && !defined(MOZ_CLANG_PLUGIN)
|
||||
// Enable checked iterators and other goodies
|
||||
//
|
||||
// FIXME/bug 551254: gcc's debug STL implementation requires -frtti.
|
||||
// Figure out how to resolve this with -fno-rtti. Maybe build with
|
||||
// -frtti in DEBUG builds?
|
||||
//
|
||||
// # define _GLIBCXX_DEBUG 1
|
||||
# define _GLIBCXX_DEBUG 1
|
||||
#endif
|
||||
|
||||
#pragma GCC visibility push(default)
|
||||
|
|
Загрузка…
Ссылка в новой задаче