[Lazarus] DEBUG=1

Vincent Snijders vsnijders at quicknet.nl
Tue Jun 17 16:03:56 CEST 2008


Adriaan van Os schreef:
> I normally build Lazarus from svn with make ... DEBUG=1 ... This is on Mac OS X with a Carbon 
> back-end. However, this results in an IDE and also in application software unuseable due to a 
> number of runtime range check errors. These errors go unnoticed when DEBUG=1 is not passed.
> 
> The workaround is to also pass OPT="-Cr-" but that doesn't remove range checking problems in the 
> code, of course.
> 
> May I suggest that Lazarus developers routinely set DEBUG=1 during their development builds ?

I hardly use the makefiles directly during development, but only the Build Lazarus 
tool in the IDE, so I cannot pass this DEBUG=1. What does it actually do? What are 
the corresponding compiler flags?

Vincent



More information about the Lazarus mailing list