Dominique Simon wrote:
I get some warnings on compiling:
display.h: In function `bool Display::SetBlink(bool)': display.h:49: warning: control reaches end of non-void function `Display::SetBlink(bool)' display.h: In function `bool Display::SetConceal(bool)': display.h:53: warning: control reaches end of non-void function `Display::SetConceal(bool)' Thats on LinVDR 0.6 with gcc 2.95.
<lengthy rant about GCC 2.95, removed>
You can either ignore this or change some lines in display.h: There are several functions of the form
if (display) return something; else return somethingelse;
Dropping just the word 'else' wont change the function and should fix the warning.
Cheers,
Udo