<div dir="ltr">Landed in r182694 after irc lgtm. Thanks!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 24, 2013 at 9:54 AM, Nico Weber <span dir="ltr"><<a href="mailto:thakis@chromium.org" target="_blank">thakis@chromium.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im">On Fri, May 24, 2013 at 9:23 AM, Jordan Rose <span dir="ltr"><<a href="mailto:jordan_rose@apple.com" target="_blank">jordan_rose@apple.com</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Your test case is named .cc (rather than .cpp) and as such is not getting run...which is important because it's actually broken.<br>

</blockquote><div><br></div></div><div>9_9 Fixed, thanks.</div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

All of va_start is implementation-defined behavior anyway, yes? I guess it's still a good warning, though.<br></blockquote><div><br></div></div><div><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1905.pdf" target="_blank">http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1905.pdf</a> 18.7p3 explicitly calls this (and some other things) out as undefined, not implementation-defined.<br>

</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
<span><font color="#888888"><br>
Jordan<br>
</font></span><div><div><br>
<br>
On May 23, 2013, at 22:07 , Nico Weber <<a href="mailto:thakis@chromium.org" target="_blank">thakis@chromium.org</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> it's undefined behavior to call va_start() with a reference parameter. It happens to work fine with clang, but blows up with other compilers (e.g. msvs), so this patch adds a warning for it. It also moves 2 other existing warnings behind the new -Wvarargs flag.<br>


><br>
> Ok?<br>
><br>
> Nico<br>
</div></div><br></div>> _______________________________________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@cs.uiuc.edu" target="_blank">cfe-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br>
<br></blockquote></div><br></div></div>
</blockquote></div><br></div>