Re: kpovmodler in kdegraphics error

Doudou <[email protected]>
Newsgroups gmane.comp.kde.devel.kpovmodeler
Message-ID <[email protected]>
just apply this patch, it should solve the problem
-- 
La loi, dans un grand souci d'égalité, interdit aux riches 
comme aux pauvres de coucher sous les ponts, de mendier dans 
les rues et de voler du pain. - Anatole France
staticpatch.patch (text/x-diff, 1.8 KB)
Index: pmbumpmap.cpp
===================================================================
RCS file: /home/kde/kdegraphics/kpovmodeler/pmbumpmap.cpp,v
retrieving revision 1.5
diff -u -r1.5 pmbumpmap.cpp
--- pmbumpmap.cpp	27 Jan 2003 16:43:49 -0000	1.5
+++ pmbumpmap.cpp	28 Jan 2003 07:18:42 -0000
@@ -30,7 +30,7 @@
 #include <klocale.h>
 
 const PMBumpMap::PMBitmapType bitmapTypeDefault = PMBumpMap::BitmapSys;
-const char *bitmapFileDefault = 0;
+static const char *bitmapFileDefault = 0;
 const bool enableFilterAllDefault = false;
 const bool enableTransmitAllDefault = false;
 const double filterAllDefault = 0.0;
Index: pmimagemap.cpp
===================================================================
RCS file: /home/kde/kdegraphics/kpovmodeler/pmimagemap.cpp,v
retrieving revision 1.5
diff -u -r1.5 pmimagemap.cpp
--- pmimagemap.cpp	27 Jan 2003 16:43:49 -0000	1.5
+++ pmimagemap.cpp	28 Jan 2003 07:18:42 -0000
@@ -30,7 +30,7 @@
 #include <klocale.h>
 
 const PMImageMap::PMBitmapType bitmapTypeDefault = PMImageMap::BitmapSys;
-const char *bitmapFileDefault = 0;
+static const char *bitmapFileDefault = 0;
 const bool enableFilterAllDefault = false;
 const bool enableTransmitAllDefault = false;
 const double filterAllDefault = 0.0;
Index: pmmaterialmap.cpp
===================================================================
RCS file: /home/kde/kdegraphics/kpovmodeler/pmmaterialmap.cpp,v
retrieving revision 1.5
diff -u -r1.5 pmmaterialmap.cpp
--- pmmaterialmap.cpp	27 Jan 2003 16:43:49 -0000	1.5
+++ pmmaterialmap.cpp	28 Jan 2003 07:18:42 -0000
@@ -28,7 +28,7 @@
 #include <klocale.h>
 
 const PMMaterialMap::PMBitmapType bitmapTypeDefault = PMMaterialMap::BitmapSys;
-const char *bitmapFileDefault = 0;
+static const char *bitmapFileDefault = 0;
 const bool enableFilterAllDefault = false;
 const bool enableTransmitAllDefault = false;
 const double filterAllDefault = 0.0;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.