[v3] libstdc++/20534, debug mode vs. includes

Gabriel Dos Reis gdr@cs.tamu.edu
Wed May 25 22:27:00 GMT 2005


Paolo Carlini <pcarlini@suse.de> writes:

| Benjamin Kosnik wrote:
| 
| >This bug is about how assert.h is included since 3.4, for most
| >everything. This is a result of the debug mode implementation, but the
| >solution is relatively straightforward. In addition, this re-work of
| >debug.h makes a cleaner (IMHO) demarcation between the internal debug
| >mode macros and the external, pre-process away to nothing macros.
| >  
| >
| Nice, thanks for fixing this. I tried, but failed: probably because
| wanted to accomplish to much: even avoiding assert while using debug


yeah, I was thinking about the "assert" macro itself and the
combination -D_GLIBCXX_DEBUG -DNDEBUG ...
I was wondering whether we should not ask for __builtin_assert()...


-- Gaby



More information about the Libstdc++ mailing list