[Kde-bindings] Qyoto: Linux build fixed
Dimitar Dobrev
dpldobrev at yahoo.com
Sun Jan 13 12:00:49 UTC 2013
Hi, Steven,
Long time no see. :)
About this error, I think there may be some bug in the Mono you use because I completed the related functionality months ago. I use CodeDomProvider.CreateEscapedIdentifier to get a valid argument name. Could you create a small test like this:
new CSharpCodeProvider().CreateEscapedIdentifier("base")
and see if you get "@base". You could use the Mono's Compiler as a Service.
Regards,
Dimitar
________________________________
From: Steven Boswell II <ulatekh at yahoo.com>
To: KDE bindings <kde-bindings at kde.org>
Sent: Sunday, January 13, 2013 6:31 AM
Subject: Re: [Kde-bindings] Qyoto: Linux build fixed
I just tried to build latest assemblygen-based Qyoto (after building and installing latest smokegen and smokeqt) on my Fedora Core 17 system, and got a compilation error while trying to build qyoto-qtcore.
The first offending line is in the assemblygen-created bin/qyoto-qtcore.cs, at line 8316:
public static QByteArray Number(int arg1, int base = 10) {
The problem is that "base" is a reserved word, but it's being used as a variable name. The usual solution is to put "@" in front of the name, but I don't know where assemblygen deals with this issue.
This is with latest mono (which I built today too) and Qt 4.8.4 (installed from Fedora Core's yum repos).
Thanks in advance for any help with this!
Steven Boswell
________________________________
From: Dimitar Dobrev <dpldobrev at yahoo.com>
To: KDE bindings <kde-bindings at kde.org>
Sent: Saturday, January 12, 2013 2:52 PM
Subject: [Kde-bindings] Qyoto: Linux build fixed
The Qyoto Linux build is working again. Sorry about the delay.
Regards,
Dimitar
_______________________________________________
Kde-bindings mailing list
Kde-bindings at kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20130113/f420aec4/attachment.html>
More information about the Kde-bindings
mailing list