Menu

#161 warning in qwt_graphic.cpp

closed
nobody
None
5
2012-05-03
2012-04-30
Anonymous
No

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

Discussion

  • Uwe Rathmann

    Uwe Rathmann - 2012-05-01

    Which OS, which compiler and which version ?

    The warning itself is irrelevant - but of course it would be better not to have one.

     
  • Nobody/Anonymous

    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.

     
  • Uwe Rathmann

    Uwe Rathmann - 2012-05-03
    • status: open --> closed-fixed
     
  • Uwe Rathmann

    Uwe Rathmann - 2012-05-03

    Initialization added.

     

Anonymous
Anonymous

Add attachments
Cancel