warning in qwt_graphic.cpp
Brought to you by:
rathmann
compiling qwt_graphic.cpp
qwt_graphic.cpp: In copy constructor ‘QwtGraphic::QwtGraphic(const QwtGraphic&)’:
qwt_graphic.cpp:345: warning: base class ‘class QwtNullPaintDevice’ should be explicitly initialized in the copy constructor
Anonymous
Which OS, which compiler and which version ?
The warning itself is irrelevant - but of course it would be better not to have one.
MacOSX 10.7.3
g++ --version
i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Initialization added.