Package: syncekonnector
Version: 0.3.2-3
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.

You can reproduce this problem with gcc-snapshot (20070422-1 or higher)
from unstable. (Currently not available for i386, but for amd64 and
and ia64.  I hope to have i386 binaries in the archive in the near
future.)

> /usr/include/kde/libkcal/incidencebase.h:198: error: extra ';'
> /usr/include/kde/libkcal/incidencebase.h:202: error: extra ';'
> /usr/include/kde/libkcal/incidencebase.h: In member function 'int 
> KCal::IncidenceBase::attendeeCount() const':
> /usr/include/kde/libkcal/incidencebase.h:202: warning: conversion to 'int' 
> from 'size_t' may alter its value
> In file included from ../libksynce/eventsyncee.h:28,
>                  from eventhandler.h:32,
>                  from eventhandler.cpp:25:
> /usr/include/kde/libkcal/calendar.h: At global scope:
> /usr/include/kde/libkcal/calendar.h:805: error: extra ';'
> In file included from eventhandler.h:33,
>                  from eventhandler.cpp:25:
> ../includes/libkdepim/progressmanager.h:134: error: extra ';'
> ../includes/libkdepim/progressmanager.h:260: error: extra ';'
> In file included from /usr/share/qt3/include/qwidget.h:44,
>                  from /usr/share/qt3/include/qdesktopwidget.h:40,
>                  from /usr/share/qt3/include/qapplication.h:42,
...

--- includes/libkdepim/progressmanager.h~       2007-04-25 17:54:49.000000000 
+0000
+++ includes/libkdepim/progressmanager.h        2007-04-25 17:54:58.000000000 
+0000
@@ -131,7 +131,7 @@
     /**
      * Recalculate progress according to total/completed items and update.
      */
-    void updateProgress() { setProgress( mTotal? mCompleted*100/mTotal: 0 ); };
+    void updateProgress() { setProgress( mTotal? mCompleted*100/mTotal: 0 ); }
 
     void addChild( ProgressItem *kiddo );
     void removeChild( ProgressItem *kiddo );
@@ -257,7 +257,7 @@
      * number as the id string for your progressItem to ensure it is unique.
      * @return
      */
-    static QString getUniqueID() { return QString::number( ++uID ); };
+    static QString getUniqueID() { return QString::number( ++uID ); }
 
      /**
       * Creates a ProgressItem with a unique id and the given label.
--- includes/libkdepim/kpimprefs.h~     2007-04-25 18:05:30.000000000 +0000
+++ includes/libkdepim/kpimprefs.h      2007-04-25 18:05:33.000000000 +0000
@@ -80,7 +80,7 @@
     QStringList mCustomCategories;
   
   protected:
-    virtual void setCategoryDefaults() {};
+    virtual void setCategoryDefaults() {}
 };
 
 #endif
--- syncedevicekonnector/syncedevicekonnector.h~        2007-04-25 
18:05:00.000000000 +0000
+++ syncedevicekonnector/syncedevicekonnector.h 2007-04-25 18:05:04.000000000 
+0000
@@ -133,7 +133,7 @@
         types << "addressbook" << "calendar";
 
         return types;
-    };
+    }
 
 private:
 
--- syncelocalkonnector/syncelocalkonnector.h~  2007-04-25 18:07:09.000000000 
+0000
+++ syncelocalkonnector/syncelocalkonnector.h   2007-04-25 18:07:12.000000000 
+0000
@@ -105,7 +105,7 @@
                 types << "addressbook" << "calendar";
 
                 return types;
-            };
+            }
             void setPdaName( const QString& pdaName );
             void setPairUid( const QString &pairUid );
 

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to