<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Argh...freaking old repositories...</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Now my build stops with the problem reported yesterday by Carlos Machado, namely:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style:
 normal;"><span>qyoto-qtgui.cs(179965,21) : error CS0102: The type `QtGui.QX11EmbedContainer' already contains a definition for `Error'<br>qyoto-qtgui.cs(180222,21) : error CS0102: The type `QtGui.QX11EmbedWidget' already contains a definition for `Error'</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>I'm using latest smokegen (git://anongit.kde.org/smokegen) and smokeqt (git://anongit.kde.org/smokeqt), unless their repositories are different now too...</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color:
 rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Steven Boswell<br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Dimitar Dobrev <dpldobrev@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> Steven Boswell II <ulatekh@yahoo.com>; KDE bindings <kde-bindings@kde.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, January 13, 2013 7:34 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Kde-bindings] Qyoto: Linux build fixed<br> </font> </div> <br>
<div id="yiv1083263072"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><span class="yiv1083263072tab">    <br></span><div><span class="yiv1083263072tab">    Oh, I think I know what's going on here. Are you using http://gitorious.org/assemblygen/assemblygen? Because a few months ago with Arno's help</span> the repository was moved back to KDE. Now <a rel="nofollow" target="_blank" href="https://projects.kde.org/projects/kde/kdebindings/csharp/assemblygen/repository/">https://projects.kde.org/projects/kde/kdebindings/csharp/assemblygen/repository/</a> is the place where all work is being done.<span class="yiv1083263072tab"> <a rel="nofollow" target="_blank" href="http://techbase.kde.org/Development/Languages/Qyoto">Qyoto's page</a> was updated back then to point to this new location.</span></div><div><span class="yiv1083263072tab">    Arno,
 could you please </span>delete <a rel="nofollow" target="_blank" href="http://gitorious.org/assemblygen/assemblygen">the assemblygen repo at Gitorious</a>? It's not just about the current confusion (if any) but in the future some search provider may lead people to it and they could think it's no longer supported.<br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span class="yiv1083263072tab"><br></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span class="yiv1083263072tab">    Dimitar</span><br><span class="yiv1083263072tab"></span></div><div><br></div>  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div
 dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Steven Boswell II <ulatekh@yahoo.com><br> <b><span style="font-weight:bold;">To:</span></b> Dimitar Dobrev <dpldobrev@yahoo.com> <br> <b><span style="font-weight:bold;">Sent:</span></b> Sunday, January 13, 2013 4:22 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Kde-bindings] Qyoto: Linux build fixed<br> </font> </div> <br>
<div id="yiv1083263072"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div><span>"</span><span class="yiv1083263072tab">CreateEscapedIdentifier" doesn't appear to exist anywhere in assemblygen's source code...?<br></span></div><div><br></div>  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Steven Boswell II <ulatekh@yahoo.com><br> <b><span style="font-weight:bold;">To:</span></b> KDE bindings for other programming languages <kde-bindings@kde.org> <br> <b><span style="font-weight:bold;">Sent:</span></b> Sunday, January 13, 2013 7:20 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Kde-bindings] Qyoto: Linux build fixed<br> </font>
 </div> <br>
<div id="yiv1083263072"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div><span>I've been here, just busy with other projects...</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span class="yiv1083263072tab">new CSharpCodeProvider().</span><span class="yiv1083263072tab">CreateEscapedIdentifier("base") does indeed return "@base", so it doesn't appear to be a Mono bug.</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br><span class="yiv1083263072tab"></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span class="yiv1083263072tab">Steven
 Boswell<br></span></div><div><br></div>  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Dimitar Dobrev <dpldobrev@yahoo.com><br> <b><span style="font-weight:bold;">To:</span></b> Steven Boswell II <ulatekh@yahoo.com>; KDE bindings for other programming languages <kde-bindings@kde.org> <br> <b><span style="font-weight:bold;">Sent:</span></b> Sunday, January 13, 2013 5:00 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Kde-bindings] Qyoto: Linux build fixed<br> </font> </div> <br>
<div id="yiv1083263072"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><span class="yiv1083263072tab">    <br></span><div><span class="yiv1083263072tab">    Hi, Steven,</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br><span class="yiv1083263072tab"></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span class="yiv1083263072tab">    Long time no see. :)</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span class="yiv1083263072tab">    </span><span class="yiv1083263072tab">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:</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span class="yiv1083263072tab"><br></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span class="yiv1083263072tab">    new CSharpCodeProvider().</span><span class="yiv1083263072tab">CreateEscapedIdentifier("base")</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span class="yiv1083263072tab">    </span><br><span class="yiv1083263072tab">    and see if you get "@base". You could use the Mono's
 Compiler as a Service</span><span class="yiv1083263072tab"></span>.</div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span class="yiv1083263072tab">    Regards,</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span class="yiv1083263072tab">    Dimitar</span><span class="yiv1083263072tab"><br></span></div><div><br></div>  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span
 style="font-weight:bold;">From:</span></b> Steven Boswell II
 <ulatekh@yahoo.com><br> <b><span style="font-weight:bold;">To:</span></b> KDE bindings <kde-bindings@kde.org> <br> <b><span style="font-weight:bold;">Sent:</span></b> Sunday, January 13, 2013 6:31 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Kde-bindings] Qyoto: Linux build fixed<br> </font> </div> <br>
<div id="yiv1083263072"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div><span>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.</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>The first offending line is in the assemblygen-created bin/qyoto-qtcore.cs, at line 8316:</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times,
 serif;background-color:transparent;font-style:normal;"><br><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>public static QByteArray Number(int arg1, int base = 10) {</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>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.<br></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times,
 serif;background-color:transparent;font-style:normal;"><br><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>This is with latest mono (which I built today too) and Qt 4.8.4 (installed from Fedora Core's yum repos).</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>Thanks in advance for any help with this!</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><br><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new
 roman, new york, times, serif;background-color:transparent;font-style:normal;"><span>Steven Boswell<br></span></div><div><br></div>  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Dimitar Dobrev <dpldobrev@yahoo.com><br> <b><span style="font-weight:bold;">To:</span></b> KDE bindings <kde-bindings@kde.org> <br> <b><span style="font-weight:bold;">Sent:</span></b> Saturday, January 12, 2013 2:52 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> [Kde-bindings] Qyoto: Linux build fixed<br> </font> </div> <br>
<div id="yiv1083263072"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><span class="yiv1083263072tab">    <br></span><div><span class="yiv1083263072tab">    The Qyoto Linux build is working again. Sorry about the delay.</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span class="yiv1083263072tab">    <br></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span class="yiv1083263072tab">    Regards,</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:times new roman, new york, times, serif;background-color:transparent;font-style:normal;"><span class="yiv1083263072tab">   
 Dimitar</span><br><span class="yiv1083263072tab"></span></div></div></div></div><br> </div> </div>  </div></div></div><br>_______________________________________________<br>Kde-bindings mailing list<br><a rel="nofollow" ymailto="mailto:Kde-bindings@kde.org" target="_blank" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a rel="nofollow" target="_blank" href="https://mail.kde.org/mailman/listinfo/kde-bindings">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br> </div> </div>  </div></div></div><br><br> </div> </div>  </div></div></div><br>_______________________________________________<br>Kde-bindings mailing list<br><a rel="nofollow" ymailto="mailto:Kde-bindings@kde.org" target="_blank" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a rel="nofollow" target="_blank" href="https://mail.kde.org/mailman/listinfo/kde-bindings">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br> </div> </div> 
 </div></div></div><br><br> </div> </div>  </div></div></div><br><br> </div> </div>  </div></body></html>