[cfe-dev] Basic source-to-source transformation with Clang

Satya Prakash Prasad satyaprakash.prasad at gmail.com
Wed Jun 20 01:15:46 PDT 2012

Thanks for your response but I am using g++ compiler:

g++ rewritersample.cpp -fno-rtti -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -o rewritersample \
                -Illvm/build/include <paths>

Is there any compiler option that I need to add?

Please let me know how to overcome the problem?

Thanks in advance.


On Wed, Jun 20, 2012 at 2:36 AM, John McCall <rjmccall at apple.com> wrote:
> On Jun 18, 2012, at 1:16 AM, Satya Prakash Prasad wrote:
>> Please let me know how
>> a) Stop the generation of 'error'(s)
> You're compiling the code as C, probably because you're completely bypassing all the driver logic.
> John.

More information about the cfe-dev mailing list