[Vm-dev] limiting compiler warnings...

Camillo Bruni camillo.bruni at inria.fr
Tue Mar 20 15:35:15 UTC 2012


I am quickly trying to limit the number of warnings we get when compiling cog.

The current output is amazingly verbose, and utterly useless when looking for possible bugs :/.
Furthermore it seems that cared about the following warning:

/Users/cami-data/education/phd/project/cog/dh83s-blessed/src/vm/gcc3x-cointerp.c:2066: warning: passing argument 1 of ‘longAt’ makes integer from pointer without a cast

what would be the easiest way to introduce an auto-cast for longAt and family?
I think the easiest solution would be to reintroduce the macros that are currently disabled, no?

best
cami


More information about the Vm-dev mailing list