C++ conversion? Why still .c (not .cc) files and CC (not CXX) in Makefile.in?
Basile Starynkevitch
basile@starynkevitch.net
Tue Aug 28 13:19:00 GMT 2012
Hello All,
Sorry for such a stupid question, but assuming that the GCC trunk (e.g. svn rev 190745)
did already switch (during my holidays, so I did not follow that) to C++
per http://gcc.gnu.org/ml/gcc/2012-08/msg00165.html message, why are files
under gcc/ still keeping a .c (not a .cc) extension
(for example gcc/gimple-fold.c is not renamed to gcc/gimple-fold.cc), and why does
gcc/Makefile.in still have more $(CC) than $(CXX)?
Or is the case that when building gcc the CC make variable
is always a true C++ compiler (e.g. some g++)?
Or do we have a rule than any file using C++ specific feature
should be renamed from *.c to *.cc at the moment the C++ feature goes inside?
(i'm trying to merge trunk back into MELT branch)
Cheers.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***
More information about the Gcc
mailing list