This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
4) If running the libstdc++ testsuite, add the flag "-D_GLIBCXX_DEBUG"
into the flags returned from --build_cxx in the script
libstdc++-v3/scripts/testsuite_flags.
For 4, You should just change
libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp DEFAULT_CXXFLAGS "-DDEBUG_ASSERT"
to
DEFAULT_CXXFLAGS "-D_GLIBCXX_DEBUG"
and in /libstdc++-v3/testsuite/testsuite_hooks.h change
the define of
DEBUG_ASSERT
to
_GLIBCXX_DEBUG
Eh. For the time being, please just put the __is_null_pointer bits into the string includes.
* include/bits/debug/support.h: New. * include/bits/debug/vector.h: New. * include/ext/debug/bitset: New. * include/ext/debug/deque: New.
Please don't nest directories in here.
* include/debug: Add your stuff here.
Also:
__GLIBCXX_INTERNAL_DEBUG_MAP_H
to
_GLIBCXX_DEBUG_MAP_H
like the ext directory duplicate headers.
* debug/Makefile.am: New.
There's got to be a better solution than this. . . If you don't want to
keep the old, hacky src/Makefile.am rules, that is ok with me, but let's
try to come up with something that's an improvement that doesn't
duplicate so much of src/Makefile.am in the process. Alexandre Oliva
recently suggested looking at the multilib approach, which I believe
libjava uses: can you take a look at that approach please, or quiz him
to see what he means by this?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |