<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi David,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 10, 2021 at 8:38 PM David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.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"> <br>
On Mon, Feb 08, 2021 at 09:02:10PM -0800, Eliot Miranda wrote:<br>
> <br>
> I ask anyone wishing to alter the system here to please contact me and discuss<br>
> before making changes.  It is extraordinarily expensive and frustrating to have<br>
> to make changes of this kind to make sure that a signfiicantly more complex VM<br>
> such as Terf's builds correctly.<br>
> <br>
><br>
<br>
Hi Eliot,<br>
<br>
Just a heads up in case it is not showing in the automated buids. I<br>
am getting build failures, apparently related to these changes. The<br>
last working version for me is 9f1b4644e7396e473bd9bb4cf67f8a9d5a4e11d6<br></blockquote><div><br></div><div class="gmail_default"><span style="font-size:small">Thanks for the heads up.  Looking at it now.  The cogit files don't include sq.h so they don't pick up sq.h's default definition of EXPORT et al.  I'm testing what happens if I move the def to sqMemoryAccess.h (so far so good on linux, but have to test on Windows & Mac).  Putting them in sqMemoryAccess.h clearly shows an issue with the cogitFOO.c files, which include sqMemoryAccess.h *before* sqPlatformSpecific.h.</span><font face="arial, sans-serif">  That can't work, so if I do decide to move EXPORT et al to sqMemoryAccess.h I'll have to change the header file declarations of the cogit files to get <span style="color:rgb(0,0,0)">sqPlatformSpecific.h before </span><span style="color:rgb(0,0,0)">sqMemoryAccess.h.  This is such a mess :-(.</span></font></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium"><br></span></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">
<br>
I am working on Ubuntu 16.04 LTS and currently building from<br>
opensmalltalk-vm/build.linux64x64/squeak.stack.spur/build.debug<br>
<br>
With the latest Cog branch the LOG shows:<br>
<br>
In file included from /home/lewis/squeak/git/opensmalltalk-vm/platforms/Cross/vm/sqVirtualMachine.c:8:<br>
/home/lewis/squeak/git/opensmalltalk-vm/platforms/Cross/vm/sqAssert.h:24:14: error: expected function body after function declarator<br>
EXPORT(void) error(const char *);<br>
             ^<br>
/home/lewis/squeak/git/opensmalltalk-vm/platforms/Cross/vm/sqAssert.h:25:14: error: expected function body after function declarator<br>
EXPORT(void) warning(const char *);<br>
             ^<br>
/home/lewis/squeak/git/opensmalltalk-vm/platforms/Cross/vm/sqAssert.h:26:14: error: expected function body after function declarator<br>
EXPORT(void) warningat(const char *,int);<br>
<br>
Dave<br>
<br>
</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>