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



> 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.
> 

Really should stop looking at the man page.  It'll just confuse you. ;) 

From the info page:

`-Wall'
	All of the above `-W' options combined.  This enables all the warnings
about constructions that some users consider questionable, and that are
easy to avoid (or modify to prevent the warning), even in conjuction
with macros.

	The following `-W...' options are not implied by `-Wall'.  Some of them
warn about constructions that users generally do not consider
questionable, but which occasionally you might wish to check for; others
warn about constructions that are necessary or hard to avoid in some
cases, and there is no simple way to modify the code to suppress the
warning.

-eric

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