<div style="font-family: arial, helvetica, sans-serif"><font size="2"><div class="gmail_quote">On Mon, Jun 18, 2012 at 3:39 AM, Tobias von Koch <span dir="ltr"><<a href="mailto:T.EdlerVonKoch@freescale.com" target="_blank">T.EdlerVonKoch@freescale.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Chandler,<br>
<br>
I'm getting lots of warnings like the following after this commit:<br>
<br>
/build/compiler/llvm/include/llvm/ADT/DenseMap.h:493:39: warning:<br>
‘TheBucket’ may be used uninitialised in this function [-Wuninitialized]<br>
/build/compiler/llvm/include/llvm/ADT/DenseMap.h:107:14: note:<br>
‘TheBucket’ was declared here<br>
<br>
This may be g++ being overly clever, but it's not pretty.<br></blockquote><div><br></div><div>You should turn off that GCC warning. It is useless I'm afraid. GCC folks themselves split it into -Wmaybe-uninitialized because of the incredibly high false positive rate.</div>
<div><br></div><div><br></div><div>The codebase already has piles of these incorrect warnings in it, and they're not likely to be fixed. My suggestion? Use clang. ;] It's -Wuninitialized doesn't have this problem.</div>
</div></font></div>