[Proj] DEBUG preprocessor definition

Frank Warmerdam warmerdam at pobox.com
Wed Mar 29 20:23:36 EST 2006


Mateusz Łoskot wrote:
> Hi,
> 
> 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.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org



More information about the Proj mailing list