<div>Hi,</div><div><br></div>I think you can write your own project using clang,<div>and customize your clang::DiagnosticClient to do what you want.<div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://clang.llvm.org/doxygen/classclang_1_1DiagnosticClient.html">http://clang.llvm.org/doxygen/classclang_1_1DiagnosticClient.html</a></div>
<div><a href="http://clang.llvm.org/doxygen/classclang_1_1DiagnosticClient.html"></a><br><div class="gmail_quote">2011/4/20 Andrew Fish <span dir="ltr"><<a href="mailto:andrew.fish@me.com">andrew.fish@me.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'd like to set the output of the diagnostic messages to -fshow-column format for our triple, x86_64-pc-win32-macho, since we cross compile not on Windows. It looks like x86_64-pc-win32-macho triple converts the diagnostic format  from BootModePei.c:27:10 to BootModePei.c(27).<br>

<br>
Can some one give me a pointer as to where in the code base to find this, so I can fix it?<br>
<br>
Example:<br>
<br>
clang /Users/fish/work/edk2/InOsEmuPkg/BootModePei/BootModePei.c<br>
/Users/fish/work/edk2/InOsEmuPkg/BootModePei/BootModePei.c:27:10: fatal error: 'PiPei.h' file not found<br>
#include <PiPei.h><br>
         ^<br>
1 error generated.<br>
<br>
vs<br>
<br>
clang -ccc-host-triple x86_64-pc-win32-macho  /Users/fish/work/edk2/InOsEmuPkg/BootModePei/BootModePei.c<br>
/Users/fish/work/edk2/InOsEmuPkg/BootModePei/BootModePei.c(27) :  fatal error: 'PiPei.h' file not found<br>
#include <PiPei.h><br>
         ^<br>
1 error generated.<br>
<br>
<br>
_______________________________________________<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" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Wen-Han<br>
</div></div>