help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debug builds


From: Bernd Strieder
Subject: Re: Debug builds
Date: Mon, 31 Jan 2005 13:40:51 +0100
User-agent: KNode/0.8.2

Hello,

Matthias wrote:

>> I have just read in another thread (didn't want to hijack it) that
>> STL containers may operate more safe in "debug builds". Are we
>> talking about a debug build when the _DEBUG flag is set (on gcc)? I
>> have grep'ed for _DEBUG in all files of my STL implementation but
>> couldn't come up with anything.
>> How do I enable the STL to work in debug mode?

You have not found _DEBUG? What STL do you use, there should be about
174 matches in the libstc++-v3 headers.

> 
> Oops, this post should actually have gone to comp.lang.c++...
> Sorry. :(

Probably not, because this is g++ specific. There is no debug mode in
standard C++.

> 
> But since it's already here... Does anyone know? ^^
> 

RTFM :-)

See at the end of

http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/howto.html

You should perhaps read deaper starting at the following page. You might
have all this on your machine. These pages are included in the gcc
sources.

http://gcc.gnu.org/onlinedocs/libstdc++/documentation.html


Bernd Strieder


reply via email to

[Prev in Thread] Current Thread [Next in Thread]