[LLVMbugs] [PATCH] NEW: Should build with -Wunused and -pedantic
Chris Lattner
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:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060522/035027.html
...
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060522/035040.html
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'
etc.
Thanks for the patch, sorry for the delay applying it!
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
More information about the llvm-bugs
mailing list