<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">HI Ben,<div><br></div><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 6, 2018 at 10:37 AM Ben Coman <<a href="mailto:btc@openinworld.com">btc@openinworld.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> <div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, 7 Dec 2018 at 00:46, AppVeyor <<a href="mailto:no-reply@appveyor.com" target="_blank">no-reply@appveyor.com</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="font-family:"Segoe UI",Arial,sans-serif;font-size:10pt">


    <h1 style="font-size:150%;font-weight:normal;color:rgb(255,50,40)"><a href="https://ci.appveyor.com/project/OpenSmalltalk/vm/builds/20822501" style="color:rgb(255,50,40)" target="_blank">Build opensmalltalk-vm 1.0.1504 failed</a></h1>

    <p style="color:rgb(136,136,136)">
        Commit <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/5f8620febe" target="_blank">5f8620febe</a> by <a href="mailto:btc@openInWorld.com" target="_blank">Ben Coman</a> on 12/6/2018 4:28 PM:
        <br>
        <span style="font-size:110%;color:rgb(34,34,34)">Fix compile for Windows serial</span></p></div></blockquote><div><br></div><div>This failed with....</div><div>../../platforms/Cross/plugins/SerialPlugin/sqNullSerialPort.c:76:14: error: redeclaration of 'serialPortClose' cannot add 'dllexport' attribute</div><div>EXPORT (int) serialPortClose(int portNum) {</div><div><br></div><div>Here are all the other definition...</div><div><a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/search?q=serialPortClose&unscoped_q=serialPortClose" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/search?q=serialPortClose&unscoped_q=serialPortClose</a><br></div><div><br></div><div>I'm not sure which way to jump...</div><div>* remove the EXPORT from (which might also need it removed from sqMacSerialPort.c.</div><div>* push EXPORT out further into the other files</div><div><br></div><div>Can someone advise?</div></div></div></div></div></div></blockquote><div><br></div><div>I don't understand why the build is trying to compile  platforms/Cross/plugins/SerialPlugin/sqNullSerialPort.c at all.  i.e.</div><div><br></div><div>On Mac OS X platforms/iOS/plugins/SerialPlugin/Makefile contains "LIBSRC:=SerialPlugin.c sqUnixSerial.c", which causes only those two to be compiled.</div><div>On Unix platforms/unix/plugins/SerialPlugin/Makefile.inc contains "OBJS=SerialPlugin$o sqUnixSerial$o" which does the same.</div><div>On Windows... damn, I forgot to write that.  OK, give me a few...</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div>cheers -ben</div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div></div></div></div></div></div>