On Sat, 10 Mar 2018 07:55:07 +0100
Ichthyostega <prg@xxxxxxxxxxxxxxx> wrote:
I've renamed the local declaration to dynshow(float timeout)In file included from/usr/ports/audio/yoshimi/work/yoshimi-bbcb8a2/src/UI/WidgetPDial.h:34:
/usr/ports/audio/yoshimi/work/yoshimi-bbcb8a2/src/UI/DynamicTooltip.h:52:8:[-Woverloaded-virtual]
warning: 'DynTooltip::show' hides overloaded virtual function
void show(float timeout=0);(0 vs 1)
^
/usr/local/include/FL/Fl_Menu_Window.H:35:8: note: hidden overloaded virtual
function 'Fl_Menu_Window::show' declared here: different number of parameters
void show();
^
IMHO this kind of warning should be taken seriously and investigated.
This kind of errors can be quite insidious, because as a result the
wrong overload of a method gets called, which typically does not break
the program, but could cause subtly wrong behavior.
-- Hermann