On Dec 16, 2008, at 5:09 PM, Fariborz Jahanian wrote: > > On Dec 16, 2008, at 5:07 PM, steve naroff wrote: > >> >> On Dec 16, 2008, at 8:04 PM, Fariborz Jahanian wrote: >> >>> >>> On Dec 16, 2008, at 4:20 PM, Steve Naroff wrote: >>> >>>> -x=objective-c++ >>> >>> I hope you meant: -x objective-c++ (same as -ObjC++). >>> >> >> Nope...the comment is correct. The clang driver syntax is currently - >> x=objective-c++. >> >> Here is some output from "clang -help". >> >> -x - Base language to compile >> =c - C >> =c++ - C++ >> =objective-c - Objective C >> =objective-c++ - Objective C++ > > So, we decided not to be gcc compatible in language selection? Or the > driver will fix all these? > In gcc we have: > -x c > -x c++ > ...
FWIW, clang -x c works fine. The --help output just doesn't know that you prefer no equal. Both work fine. -Chris _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
