[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: Re: koffice-1.5.0 build error
From: Sebastian Sauer <mail () dipe ! org>
Date: 2006-04-13 16:42:42
Message-ID: 200604131842.42847.mail () dipe ! org
[Download RAW message or body]
On Thursday 13 April 2006 17:15, Andreas Haumer wrote:
> http://gcc.gnu.org/onlinedocs/libstdc++/21_strings/howto.html#5
> Looks like the problem I see, doesn't it?
Yes. For now I would go with disabled support for unicode-objects. Attached is
a patch that fixes at least compile.
> Question is: am I the only one seeing this? And if so, why?
Seems gcc3.3.x handles it in another way :-/
On Thursday 13 April 2006 17:54, Chris Clayton wrote:
> Hi,
>
> I've previously reported this to the devel list (no response yet) but now
> that I have seen the thread at
> http://lists.kde.org/?l=koffice&m=114486415105726&w=2, I thought it might
> be useful to report that I too am getting the build error reported
> yesterday by Andreas Haumer. The error message I get is identical to that
> reported by Andreas.
A lot of thanks too for reporting the prob.
> gcc-3.3.6
Same gcc-version, hmmm....
> More than happy to try any patches.
Attached :-)
--
Sebastian Sauer aka dipesh[sebsauer]
http://www.dipe.org/public_key.asc
Fingerprint: 8F1E 219B 16E6 4EC7 29CC F408 E193 65E2 9134 2221
Coder in http://www.koffice.org && http://www.kmldonkey.org
["kross20060413-2.patch" (text/x-diff)]
Index: pythonextension.cpp
===================================================================
--- pythonextension.cpp (Revision 525313)
+++ pythonextension.cpp (Arbeitskopie)
@@ -200,12 +200,14 @@
if( PyType_IsSubtype(type,&PyString_Type) ) {
#ifdef Py_USING_UNICODE
+/*
if(type == &PyUnicode_Type) {
Py::unicodestring u = Py::String(object).as_unicodestring();
std::string s;
std::copy(u.begin(), u.end(), std::back_inserter(s));
return new Kross::Api::Variant(s.c_str());
}
+*/
#endif
return new Kross::Api::Variant(object.as_string().c_str());
}
____________________________________
koffice mailing list
koffice@kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic