OS Upgrade left VDR broken...

Message ID 449D483F.30606@gmx.de
State New
Headers

Commit Message

Udo Richter June 24, 2006, 2:12 p.m. UTC
  Mlists wrote:
> After doing some grepping around, I found that this patch, 
> vdr-1.4.0-show_valid_input.diff, was the culprit -- I just reversed it 
> and everything compiled.
> 
> Oddly, this patch was applied and compiled prior.

Ah, there it is. From the patch:
  class cMenuEditIntItem : public cMenuEditItem {

The cMenuEditItem:: is superfluous in previous GCC versions and not 
standards compliant, and thus will cause an error on the more strict GCC4.

Cheers,

Udo
  

Patch

--- vdr_orig/menuitems.h	2004-12-05 17:59:24.719556216 +0100
+++ vdr_patched/menuitems.h	2004-12-05 18:04:29.681195000 +0100
@@ -21,7 +21,7 @@ 
  public:
    cMenuEditItem(const char *Name);
    ~cMenuEditItem();
-  void SetValue(const char *Value);
+  void cMenuEditItem::SetValue(const char *Value, bool HasPre=false, 
bool HasSucc=false);
    };