[cfe-dev] clang C API version

Paul Curtis plc at rowley.co.uk
Mon Dec 13 03:50:11 PST 2010


Hi All,

I would like to build our software using both the clang 2.8 released API and
the clang 2.9 WIP API.  I can do that by #including the appropriate header
file and setting a source-level pre-processor symbol to conditionally
compile for 2.8 or 2.9--this is what I currently do, but it's not too
pleasant for our build system.

I just wondered what the project's policy is on setting an API revision
number in a pre-processor symbol in the Index.h file for clients to query
and adapt their API use accordingly?

Thanks,

--
Paul Curtis, Rowley Associates Ltd   http://www.rowley.co.uk
SolderCore arriving Winter 2010!   http://www.soldercore.com






More information about the cfe-dev mailing list