New CMOC-0.1.82 package available for CoCo-Pi
Pierre Sarrazin released an update to his CMOC C like compiler for the CoCo.
Release notes for 0.1.82:
Added new header , which provides C functions setjmp() and longjmp().
Added optimization option -fomit-frame-pointer to tell the compiler to not keep the frame pointer in a register for functions that do not need one. This can shorten the program. This option is not on by default. It does not act on functions that use inline assembly. It should be used with caution because it has not seen much use as of this release.
Added warning option -Wfor-condition-sizes, which warns if a for() loop’s condition compares values of different sizes. For example: unsigned n = 256; for (unsigned char i = 0; i < n; ++i) {…}
CMOC is now compiled without debugging information by default. To compile CMOC with it, pass –enable-debug to the configure script.
You can find more information here:
http://perso.b2b2c.ca/~sarrazip/dev/cmoc.html
When updating your CoCo-Pi, please make sure to select “Update CoCo-Pi from git repo” and “Run CoCo-Pi fix script” in order for all the changes to be applied.
Thanks, Pierre!