[patch] cgen/opc-ibld.scm

Ben Elliston bje@redhat.com
Tue Dec 5 20:14:00 GMT 2000


   > In general, I'm not a fan of such annotations in the source.  It detracts
   > from the readability of the program.  IMHO, the compiler should be fixed to
   > emit sensible warnings instead.

   You get what you ask for.  This is a specific warning enabled by the
   compiler with -Wall.  You could turn it off if you don't think it is
   valid :)

According to the man page, -Wall excludes warnings for constructs that are
valid in clean programs.  Library design kind of forces this kind of
construct -- providing a fixed interface, but not necessarily using all
arguments in a given function.

Ben



More information about the Cgen mailing list