[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: kdebase-4.5.4 fails to build
From: Erik <esigra () gmail ! com>
Date: 2010-12-26 1:04:29
Message-ID: 4D16949D.2050009 () home ! se
[Download RAW message or body]
2010-12-24 02:49, Erik skrev:
> In file included from
> kdebase-4.5.4/apps/nsplugins/viewer/scripting.cpp:30,
> from
> kdebase-4.5.4/build/apps/nsplugins/viewer/nspluginviewer_final_cpp.cpp:9:
> kdebase-4.5.4/apps/nsplugins/viewer/scripting.h: At global scope:
> kdebase-4.5.4/apps/nsplugins/viewer/scripting.h:33: fel: omdefinition
> av "class kdeNsPluginViewer::ScriptExportEngine"
> kdebase-4.5.4/apps/nsplugins/viewer/scripting.h:34: fel: föregående
> definition av "class kdeNsPluginViewer::ScriptExportEngine"
Here is the patch to add the missing include guard:
["kdebase-4.5.4_apps_nsplugins_viewer_scripting_h-add_missing_include_guard-1.diff" (text/plain)]
--- scripting.h.orig 2010-12-26 01:50:16.704000278 +0100
+++ scripting.h 2010-12-26 01:57:20.581000171 +0100
@@ -20,6 +20,9 @@
*/
+#ifndef VIEWER_SCRIPTING_H
+#define VIEWER_SCRIPTING_H
+
#include "nsplugin.h"
#include "sdk/npruntime.h"
#include <kparts/browserextension.h>
@@ -93,5 +96,6 @@
} // namespace kdeNsPluginViewer
-// kate: indent-width 4; replace-tabs on; tab-width 4; space-indent on;
+#endif
+// kate: indent-width 4; replace-tabs on; tab-width 4; space-indent on;
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic