<div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, Oct 30, 2018 at 10:05 AM Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 10/30/18 11:40 AM, Rob Landley wrote:<br>
> And the three warnings gcc produces (but llvm doesn't), the larger todo item for<br>
> which is to figure out what to do about the "int x = x;" stuff,<br>
<br>
Ooh, spoke too soon. The gcc guys _did_ split it up so you can specifically<br>
disable this warning without losing the "is used uninitialized" one.<br>
<br>(assuming current llvm doesn't barf on the extra flag)<br></blockquote><div><br></div><div>I have bad news for you:</div><div>$ ./prebuilts/clang/host/linux-x86/clang-r339409b/bin/clang -Wmaybe-initialized -x c++ -</div><div>warning: unknown warning option '-Wmaybe-initialized'; did you mean '-Wuninitialized'? [-Wunknown-warning-option] </div></div></div></div>