<div dir="ltr">On Mar 16, 2010, at 9:10 PM, Stefan Seefeld <stefan.seefeld at <a href="http://gmail.com">gmail.com</a>>  <br>wrote:<br><br>> > 2) Where is the current error emitted, and how may I intercept it<br>> > programmatically ?<br>><br>> Driver errors can't easily be intercepted at the moment, so they go to  <br>> standard error. In the near future, all diagnostics will go through  <br><div>> the diagnostic interface of CIndex.</div><div><br></div><div>Eight years later... Has any progress been made on this issue?<br><br>We use clang in an application to compile and execute code on the fly, and I cannot find any way to get ahold of compilation errors. They always go to standard error.<br><br>Thanks,<br>Geoff<br></div></div>