Hi Andrew,

On Tue, 3 Jan 2012 10:25:17 +0000
  Andrew Ross <andrewr...@users.sourceforge.net> wrote:
> 
> Good spot! I can reproduce the problem on Linux as well. 
>Looking at the 
> output of objdump it turns out the problem is the 
>backward compatibility
> macros for Alloc2dGrid, Free2dGrid and MinMax2dGrid in 
>include/plplot.h.
> Since the C++ class uses the plplot function names 
>without the pl
> prefix (it's not needed as the functions are in the 
>namespace of the
> class anyway), these macros mess up the C++ functions 
>for these 
> functions. I've committed a fix which just comments out 
>these macros. 
> They are only for backwards compatibility and these old 
>versions haven't
> been used in the examples for a long time. If anyone 
>shouts, I'll try 
> a more complicated fix to check whether plplot.h is 
>being included from
> plstream.h, but I don't think this is very robust. Given 
>no-one has 
> complained (or even noticed) this bug for months I 
>suspect it is not
> a problem.
> 
> Andrew
> 

Thanks for fixing this.

I will have to check how it arose (something to do with 
plrender and some old driver). I will test your fix on my
system and see whether all the issues are gone.

Regards,

Arjen

 

DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.





------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to