Two tiny compile fixes
Frederik Nosi
fredi at e-salute.it
Fri Apr 11 11:13:04 UTC 2003
Hi to all!
Trying to build the latest CVS (Hey, you are quite fast folks!) I found two
compiling problems, and I'm attaching the diff. One is quite trivial,
parts/filecreate/filecreate_newfile.h was included more than once so giving
class redefinition errors. The other one was tricky, happens in
parts/debugger, breakpointwidget.h forward declares QMouseEvent inside a
namespace and this confuses the compiler when compiling dbgtoolbar.cpp.
Thanks,
Fredi.
Index: parts/debugger/breakpointwidget.h
===================================================================
RCS file: /home/kde/kdevelop/parts/debugger/breakpointwidget.h,v
retrieving revision 1.6
diff -u -r1.6 breakpointwidget.h
--- parts/debugger/breakpointwidget.h 4 Apr 2003 09:20:33 -0000 1.6
+++ parts/debugger/breakpointwidget.h 11 Apr 2003 08:57:48 -0000
@@ -22,7 +22,6 @@
{
class Breakpoint;
-class QMouseEvent;
class BreakpointItem;
/***************************************************************************/
Index: parts/filecreate/filecreate_newfile.h
===================================================================
RCS file: /home/kde/kdevelop/parts/filecreate/filecreate_newfile.h,v
retrieving revision 1.1
diff -u -r1.1 filecreate_newfile.h
--- parts/filecreate/filecreate_newfile.h 11 Mar 2003 21:16:04 -0000 1.1
+++ parts/filecreate/filecreate_newfile.h 11 Apr 2003 08:57:49 -0000
@@ -8,6 +8,9 @@
* (at your option) any later version. *
***************************************************************************/
+#ifndef FILECREATE_NEWFILE_H
+# define FILECREATE_NEWFILE_H
+
#include <qptrlist.h>
#include <qmap.h>
#include <kurl.h>
@@ -50,3 +53,5 @@
};
}
+
+#endif
More information about the KDevelop-devel
mailing list