On 06/05/2014, at 5:05 AM, srean wrote:

> 
>  Is there a flag to turn the warnings on, they have been very helpful on 
> occasions.

You can add a flag manually when building Felix programs like:

        flx -fsome-flag fred.flx

However there's no way to add flags to the build of Felix itself,
except by editing and recompiling the build code.

So i have made nice change to the compiler so the modulename
prefixes the type name to help debugging .. noticed that there
were two "thread_frame_t" objects with an allocation count
on each of one, and realised that's right, because i loaded a plugin.

But still NO idea how a single print statement crashes a program.


unsigned long gc_profile_t::actually_collect() {
  if(debug_collections || report_collections) 
    fprintf(stderr,"[flx_gc:gc_profile_t] actually_collect\n");

If I comment out the debug flag check here, my test program
crashes. It runs without *apparent* as written provided one of the
flags isn't set, setting the flag also crashes it.



--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to