From: Gerald Pfeifer (gerald_at_pfeifer.com)
Date: Tue Sep 30 2003 - 00:51:44 CEST
Date: Tue, 30 Sep 2003 00:51:44 +0200 (CEST) From: Gerald Pfeifer <gerald@pfeifer.com> Message-ID: <Pine.BSF.4.56.0309300033590.66215@acrux.dbai.tuwien.ac.at> Subject: [taskjuggler-devel] PATCH: ShiftSelectionList.h -- compile fix
This is needed to compile the current CVS version of TaskJuggler with
the current CVS version of GCC 3.4.
Without this patch, one gets the following compile-time error:
In file included from ShiftSelectionList.cpp:14:
ShiftSelectionList.h:39: error: `virtual int ShiftSelectionList::compareItems(void*, void*)' is private
ShiftSelection.h:28: error: within this context
(This seems a bit backwards to me, so I'm double-checking with the GCC C++
developers whether the error is really warranted; the patch, however, does
not hurt either way, and fixes my current problem.)
Gerald
--- ShiftSelectionList.h.orig Tue Mar 4 22:51:25 2003
+++ ShiftSelectionList.h Tue Sep 30 00:32:08 2003
@@ -36,6 +36,7 @@ public:
bool isVacationDay(time_t day) const;
private:
+ friend class ShiftSelection;
virtual int compareItems(QCollection::Item i1, QCollection::Item i2);
};
-- To unsubscribe, email: taskjuggler-devel-unsubscribe@suse.com For additional commands, email: taskjuggler-devel-help@suse.com
This archive was generated by hypermail 2.1.7 : Tue Sep 30 2003 - 09:48:54 CEST