[ANNOUNCE] epgfixer-plugin 0.1.0

Message ID 4FA66D14.1070102@gmail.com
State New
Headers

Commit Message

Matti Lehtimäki May 6, 2012, 12:22 p.m. UTC
  On 05/06/2012 03:00 PM, Marcel Witte wrote:
> Hi,
>
> thanks for the plugin, I started today to build openSUSE-packages for this
> plugin in my repository, but for openSUSE Factory it is failing. Perhaps a
> problem with gcc 4.7?

The problem seems to be related to gcc 4.7. Could you try the following 
patch.
  

Comments

Marcel Witte May 6, 2012, 8:21 p.m. UTC | #1
Am Sonntag, 6. Mai 2012 schrieb Matti Lehtimäki <matti.lehtimaki@gmail.com>:
> On 05/06/2012 03:00 PM, Marcel Witte wrote:
> > Hi,
> >
> > thanks for the plugin, I started today to build openSUSE-packages for this
> > plugin in my repository, but for openSUSE Factory it is failing. Perhaps a
> > problem with gcc 4.7?
> 
> The problem seems to be related to gcc 4.7. Could you try the following 
> patch.
> 
> diff --git a/tools.h b/tools.h
> index dfcee30..bf49fac 100644
> --- a/tools.h
> +++ b/tools.h
> @@ -57,7 +57,7 @@ protected:
>             cReadLine ReadLine;
>             while ((s = ReadLine.Read(f)) != NULL) {
>                   if (!isempty(s)) {
> -                   Add(new T());
> +                   this->Add(new T());
>                      cList<T>::Last()->SetFromString(s, true);
>                      }
>                   }

Using this Patch it is compiling :) Thanks
  

Patch

diff --git a/tools.h b/tools.h
index dfcee30..bf49fac 100644
--- a/tools.h
+++ b/tools.h
@@ -57,7 +57,7 @@  protected:
            cReadLine ReadLine;
            while ((s = ReadLine.Read(f)) != NULL) {
                  if (!isempty(s)) {
-                   Add(new T());
+                   this->Add(new T());
                     cList<T>::Last()->SetFromString(s, true);
                     }
                  }