Re: [Plplot-devel] C++ question

2017-02-04 Thread Alan W. Irwin
On 2017-02-05 00:01- Phil Rosenberg wrote: > It [initialization of private non-const member] should be done in the > constructor, so in PlDevice::PlDevice () Hi Phil: That idea makes perfect sense. However, there was no explicit constructor for PLDevice. So I had to implement that also,

[Plplot-devel] C++ question

2017-02-04 Thread Alan W. Irwin
Hi Phil: What is the proper C++ way to initialize the private non-const member m_prevSymbol of the PlDevice class to an invalue value (i.e., 0)? valgrind is complaining about the uninitialized use of m_prevSymbol for a test in PlDevice::DrawTextLine, and I am looking for a way to shut it up. And