Am Donnerstag 18 August 2005 16:20 schrieb Udo Richter:
Hi.
Is this an intended change or just a debugging leftover?
This is for debugging, and it is intended. I usually only need to recompile single files with -O0 if I need a clean backtrace. I found it more elegant to specifiy an environment variable for this than editing the Makefile (and forgetting to change it back).
Marcel
--- Makefile (.../release-0.5.0) (Revision 572) +++ Makefile (.../release-0.5.1) (Revision 572) @@ -15,8 +15,8 @@
### The C++ compiler and options:
-# for debugging: -#CXXFLAGS ?= -O0 -g -Wall -Woverloaded-virtual +OPTLEVEL ?= 2 +CXXFLAGS = -O$(OPTLEVEL) -g -Wall -Woverloaded-virtual -fPIC -DPIC
### The directory environment:
Cheers,
Udo