Your message dated Fri, 11 May 2007 16:28:04 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Not a package bug, but one in the experimental compiler
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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/


--- End Message ---
--- Begin Message ---
Ben Hutchings pointed out to me that this is in fact not a bug in your
code but in the compiler.  GCC shouldn't reject this code because it's
valid.  According to Ben, "A redundant semi-colon after a member function
definition in the class declaration is allowed.  In 9.2 [class.mem] the
grammar has "member-declaration: ... function-definition ;opt".

The good news is that this has been fixed in GCC in SVN, so it won't
be an issue with the next upload of the gcc-package anymore.  I'm
closing this bug report since it's not a bug.  Apologies for wasting
your time.

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

--- End Message ---

Reply via email to