[cfe-dev] clang options

Mike Stump mrs at apple.com
Fri Nov 20 13:19:39 PST 2009


On Nov 20, 2009, at 11:18 AM, John Thompson wrote:
How to force clang to compile a file as C++?
>  
> clang -Xclang "-x=c++" -fsyntax-only file.c

What about:

  clang++ file.c

?



More information about the cfe-dev mailing list