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

Daniel Dunbar daniel at zuster.org
Thu Dec 24 14:58:05 PST 2009


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