<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div>Hi Eliot.<br></div><div><br></div><div>I was able to get the code to compile by modifiying the function declarations in cogit.c and gcc3x-interp.c</div><div><br></div><div>Apologies in advance if my terms are not exact--I am a bit tired and my brain is duller than usual.</div><div><br></div><div>Taking the first compile error as representative,</div><div><br><blockquote style="border-top-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; padding-top: 7px; padding-right: 7px; padding-bottom: 7px; padding-left: 7px; background-color: rgb(245, 245, 245);"><div>&nbsp;<br>/home/wm/usr/src/smalltalk/CMake.oscog/cogVMMaker/Contents/Resources/oscogvm/src/vm/cogit.c:1820:1: error: conflicting types for 'abstractRegisterForConcreteRegister'<br> abstractRegisterForConcreteRegister(AbstractInstruction * self_in_abstractRegisterForConcreteRegister, sqInt reg)<br> ^<br>/home/wm/usr/src/smalltalk/CMake.oscog/cogVMMaker/Contents/Resources/oscogvm/src/vm/cogit.c:384:14: note: previous declaration of 'abstractRegisterForConcreteRegister' was here<br> static sqInt abstractRegisterForConcreteRegister(AbstractInstruction * self_in_abstractRegisterForConcreteRegister, sqInt reg) NoDbgRegParms;</div></blockquote><br></div><div>&nbsp;the problem was the "NoDbgRegParms" tacked on to the end of the function declaration at line 384 and not being there on the function implementation at 1820--that error happened for all the declarations.</div><div><br></div><div>you can see them here:<br></div><div><br></div><div><br><blockquote style="border-top-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; padding-top: 7px; padding-right: 7px; padding-bottom: 7px; padding-left: 7px; background-color: rgb(245, 245, 245);"><div>http://www.squeakvm.org/svn/squeak/branches/Cog/src/vm/cogit.c</div></blockquote> </div><div><br></div><div>I noticed too that my old branch did not have those NoDbgRegParms tacked on while the live Cog trunk does.</div><div><br></div><div><br></div><div>So, I edited both cogit.c and gcc3x-cointerp.c and got rid of those NoDbgRegParms and then torched the -DNDEBUG -DDEBUGVM flags and the thing compiled in both cmake and make and ran.<br></div><div>(The cmake version does use the -D flags)</div><div><br></div><div><br></div><div>It will be a couple of days before I can devote a study session to your email on the assertion inlining stuff. I just wanted to bring this to your attention &nbsp;in case some 'assertion inlined code' was submitted to svn if such a thing is possible.</div><div><br></div><div>Thanks for your pointers on the -w stuff. I have always lived in fear of gcc output, but I am starting to look at it logically;&nbsp;<em>&nbsp;</em>I am beginning to see the outlines of a forest for the trees (:</div><div><br></div><div><br></div><div>cordially,</div><div><br></div><div>tty.</div></div></body></html>