Re: [Plplot-devel] Problems with PL_DEPRECATED and C++

2012-01-04 Thread Andrew Ross
The disabling of plmeta is mentioned in the release notes for 5.8.0 in OLD-README.release, but I agree this is a bit arcane. It also doesn't mention the need for PL_DEPRECATED. We could automatically set PL_DEPRECATED on if plmeta is selected. We should also add some cmake warnings if people e

Re: [Plplot-devel] Problems with PL_DEPRECATED and C++

2012-01-04 Thread Arjen Markus
Hi Andrew, Walter, I just checked why Walter got the original error regarding plSetOpt in building the plrender utility that led to us including the option PL_DEPRECATED and from there on to the other build errors that Andrew solved yesterday. In the CMake GUI you can turn on the "meta" device dr

Re: [Plplot-devel] Problems with PL_DEPRECATED and C++

2012-01-03 Thread Arjen Markus
Hi Andrew, On Tue, 3 Jan 2012 10:25:17 + Andrew Ross 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.

Re: [Plplot-devel] Problems with PL_DEPRECATED and C++

2012-01-03 Thread Andrew Ross
On Mon, Jan 02, 2012 at 08:35:49PM +0100, Arjen Markus wrote: > Hello everyone, > > I have been trying to help Walter get started with PLplot > on Windows and > though he has succeeded in this, in the process we came > across a peculiar > problem with the PL_DEPRECATED flag and C++. > > If I tu

[Plplot-devel] Problems with PL_DEPRECATED and C++

2012-01-02 Thread Arjen Markus
Hello everyone, I have been trying to help Walter get started with PLplot on Windows and though he has succeeded in this, in the process we came across a peculiar problem with the PL_DEPRECATED flag and C++. If I turn it on on Windows XP and use gcc to compile it all, then this is the result: