[LLVMbugs] [PATCH] NEW: Should build with -Wunused and -pedantic
sabre at nondot.org
Wed May 24 10:07:22 PDT 2006
On Tue, 23 May 2006, Anton Korobeynikov wrote:
> This patch should fix all minor glitches. Tested on "make tools-only",
> so can be definite incomplete.
The patch looks like a great first step. I've applied it all, except the
Makefile.rules part that actually changes the warning options:
Currently, changing the warning options does two things:
1. It causes many warnings to still be emitted, we should fix these
before we enable the option.
2. It breaks the build:
PPCGenSubtarget.inc:468: error: zero-size array 'NoItineraries'
AlphaGenSubtarget.inc:118: error: zero-size array 'NoItineraries'
Thanks for the patch, sorry for the delay applying it!
More information about the llvm-bugs