[cfe-dev] Tool programming. Where can I get default platform configuration ?

Y. Orçun Gökbulut orcun.gokbulut at zinekengine.com
Tue Sep 4 03:32:16 PDT 2012

Hi João,


Thank you so much for your reply and patch.


I have applied your patch and modified my driver according to your code. It
really automated things like getting system paths but I still got errors in
system headers (Visual Studio's c library). 


I think problem is clang can not parse visual studio c library headers
becouse it could not found Microsoft specific type_info struct or


I just can figure out the difference between a clang driver with my own
code. They are doing the same thing. They are using compiler invocation so I
do it too. I'm really stuck.


Thank you,



From: João Matos [mailto:ripzonetriton at gmail.com] 
Sent: Saturday, September 01, 2012 4:10 PM
To: Y. Orçun Gökbulut
Cc: cfe-dev at cs.uiuc.edu
Subject: Re: [cfe-dev] Tool programming. Where can I get default platform
configuration ?


Hi. I'm also using Clang for a similiar tool (generate reflection data for
C++), check out the attached source file 'ParserInit.cpp' to see how I
initialize it.


You're also gonna need the attached patch applied to Clang, it exposes the
Windows SDK headers locations.



João Matos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120904/e20114d0/attachment.html>

More information about the cfe-dev mailing list