[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 15:26:58 +0100 |
User-agent: |
KNode/0.8.2 |
Hi,
Matthias wrote:
> "This debug mode is available with GCC 3.4.0 and later versions."
>
> I guess that explains why I didn't find that flag in the headers. I
> only have 3.3.4 at hands. Well, bad luck I guess.
>
You did not tell the truth. In the previous post you said:
>
> I am using the GNU C++ implementation, gcc 3.4.3.
>
If you are ready to recompile all C++ parts of your project, you might
consider using g++-3.4.3. It has a new parser, which is stricter. There
are possibly a lot of simple changes in template-heavy code to get your
code working under g++-3.4 and g++-3.3. gcc-3.4.3 is faster, especially
in debugging builds and produces faster code. You could do release
builds with the old compiler.
You might consider using STLport. It has debugging features and it
should be usable with g++-3.3. But recompiling might be necessary,
nevertheless.
Bernd Strieder