From: Chris Marshall Sent: Thursday, May 21, 2015 3:24 AM To: Sisyphus Cc: pdl-devel@lists.sourceforge.net Subject: Re: [Pdl-devel] Insert C code before '#include "EXTERN.h"'
> It's a hack but what about adding -D_PROVIDER_STRUCTS_DEFINED to the > DEFINE? Yes, that does the trick - and allows me to verify that it doesn't have the effect I hoped it would have. There's a problem with PDL::GIS::Proj that arises because the proj header projects.h introduces a symbol named PVALUE. Unfortunately a symbol of the same name has already been introduced in winreg.h. I've been working around this problem by hacking the proj code prior to building the library, so that "PVALUE" is replaced by a symbol that doesn't clash. It's a pita, and I'm looking for a better solution - but defining _PROVIDER_STRUCTS_DEFINED is not it. Best solution would be if the proj developers renamed "PVALUE" to something that doesn't clash - but they're not entirely thrilled at that prospect, given that projects.h is public (to some extent, at least). Cheers, Rob ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ pdl-devel mailing list pdl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdl-devel