[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#239843: kdeadmin_4:3.2.1-1(hppa/unstable): FTBFS: g++ errors



package kdeadmin
tags 239843 +fixed-upstream,patch
thanks
domi

lamont  writes:

> There was an error while trying to autobuild your package:

This is a problem with the stricter checking that g++ 3.4 or 3.3 ( not
sure which was used, but it doesn't matter ) does on c++ code.  It was
fixed upstream in KDE_3_2_BRANCH and HEAD recently.  I'm attaching the
patch.

thanks
domi

Index: kdeadmin/kcron/ctcron.cpp
===================================================================
RCS file: /home/kde/kdeadmin/kcron/ctcron.cpp,v
retrieving revision 1.16
retrieving revision 1.16.2.1
diff -u -r1.16 -r1.16.2.1
--- kdeadmin/kcron/ctcron.cpp	31 Dec 2003 16:27:39 -0000	1.16
+++ kdeadmin/kcron/ctcron.cpp	7 Mar 2004 23:52:58 -0000	1.16.2.1
@@ -98,7 +98,8 @@
   initialVariableCount  = variable.size();
 }
 
-CTCron::CTCron(const struct passwd *pwd)
+CTCron::CTCron(const struct passwd *pwd) :
+  syscron(false)
 {
   Q_ASSERT(pwd != 0L);
 

Reply to: