-----Original Message----- 
From: Ed
Sent: Thursday, April 02, 2015 10:18 AM
To: sisyph...@optusnet.com.au
Cc: pdl-devel
Subject: Re: [Pdl-devel] Proj presently broken

> Good spot on the $include_path. Additional commit pushed on the projfixp2 
> branch, should just work. Rob, does it work for you?

Yep - works good.

> Oddly now on my Win32 system I'm getting conflicts between PVALUE in MinGW 
> and in Proj4, which Rob I see you asked about a long while ago?

I was hoping that they'd rename PVALUE to something that doesn't clash, but 
they haven't. My recollection is that, when I reported this issue to the 
proj mailing list, the response was "gee, that's unfortunate".
Not sure how kmx dealt with this for his 64-bit builds (32-bit builds are 
unaffected AFAIK), but I've been working around it by altering the proj 
source to replace all occurrences of PVALUE  with _P_VALUE.
"PVALUE" is found in about 3 or 4 places in the source, spread over 2 files 
(projects.h and pj_param.c) - so it's a hack that doesn't take long to 
implement.

It might be that projects.h merely needs to begin with:

#ifdef PVALUE
#undef PVALUE
#endif

I haven't tested that.

Cheers,
Rob 


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to