[cfe-dev] Using "-x c++" with clang_parseTranslationUnit()
Stefan Seefeld
stefan at seefeld.name
Sun Mar 20 12:51:23 PDT 2011
On 2011-03-20 14:22, Argyrios Kyrtzidis wrote:
> What was happening was when creating the final argument list for clang, the given arguments were put after the input_file like this:
>
> <input_file> ... -x c++ ..
>
> in which case -x had no effect. This is fixed now in r127971. (Just FYI, it would not happen if you had passed the input file inside the array of args instead of using the input_file parameter).
Thanks ! Is there a chance to get this fix into the 2.9 release ?
Stefan
--
...ich hab' noch einen Koffer in Berlin...
More information about the cfe-dev
mailing list