From: H. P. A. <hp...@zy...> - 2016-03-31 22:43:39
|
On 03/31/16 07:18, Knut St. Osmundsen wrote: > Hi! > > Just built current git and found that an annoying regression had crept > in since 2.12. The following code does not yield any warnings or errors: > > %ifndef NO_SUCH_DEFINE > %warning "Warnings work!" > %error "Errors works!" > %endif > > Bisecting indicates that 215186fe82c461bc1ccef7bed5c1a1a0253bfcc9 is the > first bad commit. Thanks for the alert!! > PS. Visual C++ 2010 still isn't happy with output/codeview.c, there are > two for loops in register_reloc() that declare variables inside the for > statement. Thanks. This should be easy to fix. I'm surprised that the new warning options don't trigger. -hpa |