On 4 April 2011 22:48, Satish Balay <balay at mcs.anl.gov> wrote: > There is clang and clang++ - but still they insist on throwing this warning. > > When I invoke clang++ - I want c++. So I'm not sure whats so ambiguous > that they should throw this warning. > > And what does this depricate mean? That ?'clang++ foo.c' will create C code? > > Then why have both clang and clang++? >
$ file /usr/bin/clang++ /usr/bin/clang++: symbolic link to `clang' They should use argv[0] to dispatch C/C++, but it seems this is not the case. -- Lisandro Dalcin --------------- CIMEC (INTEC/CONICET-UNL) Predio CONICET-Santa Fe Colectora RN 168 Km 472, Paraje El Pozo 3000 Santa Fe, Argentina Tel: +54-342-4511594 (ext 1011) Tel/Fax: +54-342-4511169
