[Proj] DEBUG preprocessor definition

Mateusz Łoskot mateusz at loskot.net
Wed Mar 29 19:18:46 EST 2006


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?

One note more, there is no DEBUG definition used by Visual C++ but it
uses _DEBUG instead.

Cheers
-- 
Mateusz Łoskot
http://mateusz.loskot.net


More information about the Proj mailing list