<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thank you<br><div><div>Le 24 mars 2011 à 16:11, Douglas Gregor a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Already fixed in r128210.<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">      </span>- Doug</div><div><br><div><div>On Mar 24, 2011, at 3:59 PM, Jean-Daniel Dupas wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" color="#555555" face="'Lucida Grande', Helvetica, sans-serif"><span class="Apple-style-span" style="line-height: 19px; white-space: pre-wrap;"><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="line-height: normal; white-space: normal;">Look like clang no longer like label with the same name than an existing function:</span></font></span></font></div><div><font class="Apple-style-span" color="#555555" face="'Lucida Grande', Helvetica, sans-serif"><span class="Apple-style-span" style="line-height: 19px; white-space: pre-wrap;"><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="line-height: normal; white-space: normal;"><br></span></font></span></font></div><div><font class="Apple-style-span" color="#555555" face="'Lucida Grande', Helvetica, sans-serif"><span class="Apple-style-span" style="line-height: 19px; white-space: pre-wrap;"><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="line-height: normal; white-space: normal;">------ AudioStream.cpp</span></font></span></font></div><div><font class="Apple-style-span" color="#555555" face="'Lucida Grande', Helvetica, sans-serif"><span class="Apple-style-span" style="line-height: 19px; white-space: pre-wrap;"><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="line-height: normal; white-space: normal;"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "><span style="color: #c22a9c">extern</span> <span style="color: #d92823">"C"</span> <span style="color: #c22a9c">void</span> exit(<span style="color: #c22a9c">int</span>) <span style="color: #c22a9c">__attribute__</span>((__noreturn__));</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; "><span style="color: #c22a9c">class</span> CAStreamBasicDescription  {</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(194, 42, 156); ">public<span style="color: #000000">:</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">  <span style="color: #c22a9c">char</span> * AsString(<span style="color: #c22a9c">char</span> *buf) <span style="color: #c22a9c">const</span> {</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">    <span style="color: #c22a9c">char</span> *theBuffer = buf;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">    <span style="color: #c22a9c">if</span> (buf <= <span style="color: #2f2fcf">0</span>) <span style="color: #c22a9c">goto</span> exit;    </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">  exit:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">    <span style="color: #c22a9c">return</span> <span style="color: #2f2fcf">0</span>;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">  }</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">};</div><div><br></div><div>---------------------------</div></span></font></span></font></div><div><font class="Apple-style-span" color="#555555" face="'Lucida Grande', Helvetica, sans-serif"><span class="Apple-style-span" style="line-height: 19px; white-space: pre-wrap; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="line-height: normal; white-space: normal;"><br></span></font></span></font></div><div><font class="Apple-style-span" color="#555555" face="'Lucida Grande', Helvetica, sans-serif"><span class="Apple-style-span" style="line-height: 19px; white-space: pre-wrap; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="line-height: normal; white-space: normal;"><div>$ clang++ -fsyntax-only AudioStream.cpp </div><div><br></div><div>Assertion failed: (LabelAndGotoScopes.count(To) && "Jump didn't get added to scopes?"), function CheckJump, file /Volumes/MacPro/Projects/OpenSource/llvm/tools/clang/lib/Sema/JumpDiagnostics.cpp, line 541.</div><div>0  clang             0x0000000100f50672 PrintStackTrace(void*) + 34</div><div>[…]</div><div>7  clang             0x000000010026ed8d clang::Sema::DiagnoseInvalidJumps(clang::Stmt*) + 317</div><div>8  clang             0x00000001002fb8ba clang::Sema::ActOnFinishFunctionBody(clang::Decl*, clang::Stmt*, bool) + 762</div><div>9  clang             0x000000010025842b clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) + 235</div><div>[…]</div><div>Stack dump:</div><div>0.<span class="Apple-tab-span" style="white-space:pre">        </span>Program arguments: /Volumes/MacPro/Projects/OpenSource/llvm/release/Release+Asserts/bin/clang -cc1 -triple x86_64-apple-darwin10.0.0 -fsyntax-only -disable-free -main-file-name AudioStream.cpp -pic-level 1 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 97.17 -resource-dir /Volumes/MacPro/Projects/OpenSource/llvm/release/Release+Asserts/bin/../lib/clang/3.0 -ferror-limit 19 -fmessage-length 180 -stack-protector 1 -fblocks -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -x c++ AudioStream.cpp </div><div>1.<span class="Apple-tab-span" style="white-space:pre">        </span>AudioStream.cpp:12:2: current parser token ';'</div><div>2.<span class="Apple-tab-span" style="white-space:pre">     </span>AudioStream.cpp:4:1: parsing struct/union/class body 'CAStreamBasicDescription'</div><div>3.<span class="Apple-tab-span" style="white-space:pre">    </span>AudioStream.cpp:6:36: parsing function body 'AsString'</div><div>clang: error: unable to execute command: Illegal instruction</div><div>clang: error: clang frontend command failed due to signal 1 (use -v to see invocation)</div><div><br></div></span></font></span></font></div><div><br></div><div>
<span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div>-- Jean-Daniel</div><div><br></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></div>_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br></blockquote></div><br></div></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div>-- Jean-Daniel</div><div><br></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></body></html>