Hi guys. I don&#39;t know why but with CMakeVMMaker the asserts are not working.  I can see the flags are being set correct in CmakeList.txt:<br><br>add_definitions(-arch i386 -mmacosx-version-min=10.5 -g3 -O0 -msse3 -funroll-loops -fasm-blocks -finline-functions -mfpmath=sse -march=pentium-m -falign-functions=16 -fno-gcse -fno-cse-follow-jumps -std=gnu99 -DBUILD_FOR_OSX -DUSE_INLINE_MEMORY_ACCESSORS -DLSB_FIRST -DHAVE_SYS_TIME_H -DHAVE_NANOSLEEP <span style="background-color:rgb(255, 255, 51)">-DNDEBUG=1</span> -DDEBUGVM=1 -DCOGMTVM=1 -DUSE_GLOBAL_STRUCT=0 -DBASE_HEADER_SIZE=4 -DCOGVM)<br>

<br>I modified the StackInterpreter to this:<br><br>lookupMethodInClass: class<br>    | currentClass dictionary found |<br>    &lt;inline: false&gt;<br>    self asserta: &#39;42&#39; = &#39;cuarenta y tres&#39;.<br>    self assert: &#39;mariano&#39; = &#39;esta perdido&#39;.<br>
    self print: &#39;grrrr&#39;; cr.<br>
<br>.....<br><br>and only &#39;grrr&#39; is printed. The TWO previous assert are ignored. <br><br>I may be doing something very stupid...<br><br>thanks in advance,<br><br>Mariano<br><br><br><br><div class="gmail_quote">On Wed, Apr 13, 2011 at 8:06 PM, Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com" target="_blank">siguctua@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div><br>
On 13 April 2011 19:13, Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>&gt; wrote:<br>
&gt; I&#39;ve just commited the fix, but not the comment ;)<br>
&gt;<br>
&gt; Seriously, I don&#39;t know how we can document this kind of things.<br>
&gt; Putting such comments in #compilerFlagsRelease  or #compilerFlagsRelease<br>
&gt; doesn&#39;t make sense because they are aprox. 12 implementaions...I don&#39;t want<br>
&gt; to copy paste to all of them. Only in one? it doesn&#39;t make sense because<br>
&gt; people won&#39;t see it. So..how we document this kind of things?  I have no<br>
&gt; idea.<br>
&gt;<br>
&gt; The same with class comments. There are so many classes that copy pasting or<br>
&gt; documenting only one doesn&#39;t make sense.<br>
&gt;<br>
<br>
The root class is enough.<br>
A subclasses should just say something like &#39;i am special for<br>
___that__ and do things differently because i want __that__&#39;.<br>
<br>
<br>
&gt; The only thing I though is doing something like this:<br>
&gt;<br>
&gt;<br>
&gt; compilerFlagsRelease<br>
&gt;     ^#(&#39;-g3&#39; &#39;-Os&#39; &#39;-fvisibility=hidden&#39; &#39;-funroll-loops&#39; &#39;-fasm-blocks&#39;<br>
&gt; &#39;-finline-functions&#39; &#39;-mfpmath=sse&#39; &#39;-fomit-frame-pointer&#39;<br>
&gt; &#39;-march=pentium-m&#39; &#39;-mtune=prescott&#39; &#39;-falign-functions=16&#39; &#39;-fno-gcse&#39;<br>
&gt; &#39;-fno-cse-follow-jumps&#39; &#39;-std=gnu99&#39; &#39;-DBUILD_FOR_OSX&#39;<br>
&gt; &#39;-DUSE_INLINE_MEMORY_ACCESSORS&#39; &#39;-DLSB_FIRST&#39;<br>
&gt; &#39;-DUSE_INLINE_MEMORY_ACCESSORS&#39; &#39;-DHAVE_SYS_TIME_H&#39; &#39;-DHAVE_NANOSLEEP&#39;<br>
&gt; &#39;-DNDEBUG=0&#39; , self debugVMFlag: true,  &#39;-DCOGMTVM=0&#39;<br>
&gt; &#39;-DUSE_GLOBAL_STRUCT=0&#39; &#39;-DBASE_HEADER_SIZE=4&#39;)<br>
&gt;<br>
&gt;&gt;&gt;debugVMFlagEnable: boolean<br>
&gt; &quot;THIS flag is blagh...blh...&quot;<br>
&gt; ^ &#39;-DDEBUGVM=&#39;, boolean asNumber asString<br>
&gt;<br>
&gt; or something like that...<br>
&gt;<br>
&gt;<br>
<br>
This knowledge is important. It of course a question where to put that,<br>
but that&#39;s exactly why i didn&#39;t wanted to use autoconf to generate<br>
config.h file, which contains like 50 various flags,<br>
without any clues, where these flags being used, and in what<br>
situations they should be turned on or off..<br>
<br>
So, later we could step over every flag and properly document them,<br>
and like that, for people who will come later, we will have an idea<br>
what are need to deal with and why.<br>
<br>
&gt; cheers<br>
&gt;<br>
&gt; Mariano<br>
&gt;<br>
<br>
--<br>
Best regards,<br>
Igor Stasenko AKA sig.<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>