[Proj] DEBUG preprocessor definition

Mateusz Łoskot mateusz at loskot.net
Wed Mar 29 21:04:31 EST 2006

Frank Warmerdam wrote:
> Mateusz Łoskot wrote:
>> As I see, in PROJ.4 sources DEBUG macro is used.
>> But I'm not sure if it's defined in default building configuration.
>> I'm building PROJ.4 using VC++ and as I noticed, after I defined DEBUG
>> macro, I got errors about undefined/unresolved symbols like MessageBox.
>> It seems <windows.h> is not included and user32.lib is not linked with.
>> So, does it mean those #ifdef DEBUG clauses can be removed?
> Mateusz,
> I have stripped out this DEBUG stuff in pj_krovak.c in CVS.
> It is not our practice to include debugging stuff that uses MessageBox.
> That apparently just slipped through.

Hi Frank,
That's exactly what I supposed.

Mateusz Łoskot

More information about the Proj mailing list