[Kde-bindings] [Bug 103988] smoke bindings compile error on Solaris

Richard Dale Richard_Dale at tipitina.demon.co.uk
Sat Apr 16 08:26:59 UTC 2005


On Saturday 16 April 2005 01:54, Joachim Feise wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=103988
>
>
>
>
> ------- Additional Comments From jfeise uci edu  2005-04-16 01:54 -------
> The actual code causing the problem:
>
>     static void x_274(Smoke::Stack x) {
>         // operator+(const QString&, const std::string&)
>         const QString xret = (*(const QString *)x[1].s_voidp + *(const
> std::string *)x[2].s_voidp); x[0].s_voidp = (void*)new QString(xret);
>     }
>     static void x_275(Smoke::Stack x) {
>         // operator+(const std::string&, const QString&)
>         const QString xret = (*(const std::string *)x[1].s_voidp + *(const
> QString *)x[2].s_voidp); x[0].s_voidp = (void*)new QString(xret);
>     }
It looks as though the header for std::string doesn't get included on Solaris. 
But I really can't see any use for being able to convert between QStrings and 
std::strings in a language binding - it would only make sense if you were 
writing a program in C++. So the best solution is probably to not generate 
bindings for any methods containing std::strings.

-- Richard



More information about the Kde-bindings mailing list