This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] cgen/opc-ibld.scm


Ben Elliston wrote:
> 
>    This small patch removes some warnings when compiling opcodes.
> 
> 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 :)

-eric

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]