Menu

#26 popupmenu.cc:979: bad type ?

next
closed
None
5
2023-03-04
2017-08-29
dcb
No

popupmenu.cc:979:24: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=]

Source code is

} catch ( std::out_of_range ) {

Some duplicates:

nwc_virtualdir.cc:51:22: warning: catching polymorphic type 'class std::bad_cast' by value [-Wcatch-value=]
searchopbg.cc:388:24: warning: catching polymorphic type 'class std::bad_cast' by value [-Wcatch-value=]
searchthread.cc:229:24: warning: catching polymorphic type 'class std::bad_cast' by value [-Wcatch-value=]

Discussion

  • Ralf Hoffmann

    Ralf Hoffmann - 2018-02-05

    fixed in version 3.12.0

     
  • Ralf Hoffmann

    Ralf Hoffmann - 2018-02-05
    • status: open --> closed
    • assigned_to: Ralf Hoffmann
     

Log in to post a comment.