[M3commit] CVS Update: cm3
Jay Krell
jkrell at elego.de
Sat Oct 20 08:06:14 CEST 2012
CVSROOT: /usr/cvs
Changes by: jkrell at birch. 12/10/20 08:06:14
Modified files:
cm3/m3-sys/m3back/src/: M3C.m3
Log message:
gcc -Wall work:
remove unused variables -- would be nice if frontend didn't produce them..
remove unused labels -- would be nice if frontend didn't produce them..
mark a few functions as noreturn functions to quash gcc warnings
including risky hack of removing exit_proc
asserting that certain functions only have one..presumably/hopefully
right before end_procedure..
small hardcoded list of no_functions..kind of hacky..but compiler
is in bed with runtime is normal..
still to do -- warning: comparison is always false due to limited range of data type
(this isn't gcc -Wall, but gcc default, like comparisons
of unsigned numbers against 0...)
give in and put some newlines in always so the code is more readable
but still, no/little indentation
More information about the M3commit
mailing list