<!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>Thank you,<br></div><div><br></div><div>I am able to compile by modifying the cogit.h and cointerp.h to unconditionally set the NoDbgRegParms --so that confirms my theory.</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><div>The !defined(<span style="font-family:verdana,arial,helvetica,sans-serif;font-size:14px">NoDbgRegParms) phrase allows someone to define an alternative on the command line via a -D argument, so it allows the</span></div> <div><span style="font-family:verdana,arial,helvetica,sans-serif;font-size:14px">&nbsp; &nbsp;&nbsp;# define NoDbgRegParms __attribute__ ((regparm (0)))</span></div><div><span style="font-family:verdana,arial,helvetica,sans-serif;font-size:14px">def to be a default, rather thna the only way.</span></div></div></blockquote> <br>ahhh...."ding! ding! ding!" goes the bell in my head...</div><div><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>PRODUCTION is defined in platforms/Cross/vm/sqAssert.h</div></blockquote></div><div>I see it. -DNDEBUG toggles it , my problems with assert enabled builds probably lies in here....<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><div>#undef assert<br># define __stringify(foo) #foo<br># define __stringifyNum(n) __stringify(n)<br>#ifdef NDEBUG /* compatible with Mac OS X (FreeBSD) /usr/include/assert.h */<br># define assert(expr) 0 /* hack disabling of asserts.  Better in makefile? */<br># define asserta(expr) (expr)<br># define assertf(msg) 0<br># define assertl(expr,line) 0<br># define assertal(expr,line) (expr)<br># define assertfl(msg,line) 0<br># define PRODUCTION 1<br>#elif 1<br># define assert(expr)  ((expr)||(warning(#expr " " __stringifyNum(__LINE__)),0))<br># define asserta(expr) ((expr)||(warning(#expr " " __stringifyNum(__LINE__)),0))<br># define assertf(msg)  (warning(#msg " " __stringifyNum(__LINE__)),0)<br># define assertl(expr,line)  ((expr)||(warningat(#expr,line),0))<br># define assertal(expr,line) ((expr)||(warningat(#expr,line),0))<br># define assertfl(msg,line)  (warningat(#msg,line),0)<br># define PRODUCTION 0<br>#endif<br></div></div></blockquote> <br></div><div><br></div><div>so, I have two/three more -D definitions to think through...-DNoDbgRegParms &nbsp;-DNoDbgRegParms "something funky here" &nbsp; -DNeverInline<br></div><div><br></div><div><br></div><div>Thanks your answer has given me the tools I need to think this through. .</div><div><br></div><div>cheers.</div><div><br></div><div>tty</div></div></body></html>