[cfe-dev] Using "-x c++" with clang_parseTranslationUnit()

Stefan Seefeld stefan at seefeld.name
Sat Mar 19 07:52:47 PDT 2011


I'm trying to set the language to be used for parsing, with 
clang_parseTranslationUnit(). However, it appears that option is being 
ignored (causing the warning "warning: argument unused during 
compilation: '-x c++'" instead).

Am I doing something wrong ? Is this a known bug or limitation ?


Thanks,
         Stefan

-- 

       ...ich hab' noch einen Koffer in Berlin...




More information about the cfe-dev mailing list