<div dir="ltr">On 17 June 2013 10:01, Evgeniy Stepanov <span dir="ltr"><<a href="mailto:eugeni.stepanov@gmail.com" target="_blank">eugeni.stepanov@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is this a bug in the code or in the compiler? Seems like the code<br>
should be fixed to either make the enum global, or explicitly cast it<br>
to (int). But I'm not completely sure.<br>
<br>
AnalysisBasedWarnings.cpp:1126<br>
SemaCast.cpp:772<br></blockquote><div></div></div><br></div><div class="gmail_extra" style>Neither of those cases are template arguments, they're just plain IO redirection, so it seems that Clang is wrong here.</div>
<div class="gmail_extra" style><br></div><div class="gmail_extra" style>Maybe you should report this on the main clang dev list with the error messages and all info you can provide and see where it goes.</div><div class="gmail_extra" style>
<br></div><div class="gmail_extra" style>cheers,</div><div class="gmail_extra" style>--renato</div></div>