Hi,
On Tuesday 26 February 2008 10:04:44 Chitlesh GOORAH wrote:
> ktechlab can't be built under gcc4.3
>
> http://koji.fedoraproject.org/koji/getfile?taskID=470274&name=build.log
this is an issue, that showed up before and is fixed in svn. (Both, trunk and 
0.3.6 tag). I attached a diff, you may want to just patch the code you have 
got there.

> I'll be happy if someone can come up with a solution very quick.
Well, I hope this helps..

> thanks regards,
> Chitlesh
bye then
julian
diff -Naur ktechlab-0.3-orig/src/itemdocument.h ktechlab-0.3/src/itemdocument.h
--- ktechlab-0.3-orig/src/itemdocument.h	2007-08-06 12:52:55.000000000 -0600
+++ ktechlab-0.3/src/itemdocument.h	2007-08-06 12:55:24.000000000 -0600
@@ -112,7 +112,7 @@
 		 * (such as PIC/START) have restrictions, and can only have one instance of
 		 * themselves on the canvas, and adds the operation to the undo list
 		 */
-		virtual Item* addItem( const QString &id, const QPoint &p, bool newItem ) = 0l;
+		virtual Item* addItem( const QString &id, const QPoint &p, bool newItem ) = 0;
 		/**
 		 * @returns A pointer to the canvas
 		 */
@@ -215,7 +215,7 @@
 		 * Set the given QCanvasItem (which will attempt to be casted to known
 		 * items to be deleted.
 		 */
-		virtual void appendDeleteList( QCanvasItem * ) = 0l;
+		virtual void appendDeleteList( QCanvasItem * ) = 0;
 		/**
 		 * Save the current state of the document to the undo/redo history.
 		 * @param actionTicket if this is non-negative, and the last state save

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ktechlab-devel mailing list
Ktechlab-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ktechlab-devel

Reply via email to