[cfe-dev] Compile .c file with clang++?

Jason Haslam jason.haslam at gmail.com
Thu Dec 24 15:24:20 PST 2009


Okay, thanks!  I was going to submit a bug report but thought I had better ask here first.

Jason


On Dec 24, 2009, at 3:58 PM, Daniel Dunbar wrote:

> On Thu, Dec 24, 2009 at 2:33 PM, Jason Haslam <jason.haslam at gmail.com> wrote:
>> Hello,
>> 
>> I expected to be able to compile a .c file in C++ mode by using the clang++ symlink.  Instead it seems to prefer the .c extension and compile as C.  Is this by design?  Thanks,
> 
> No, it's a bug. We have a bugzilla on it, although I don't have the # handy.
> 
> - Daniel
> 
>> 
>> Jason
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>> 





More information about the cfe-dev mailing list