https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116252

            Bug ID: 116252
           Summary: variation in C++ filename extensions in testsuite ?
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

While C files usually have extension .c, C++ files use
.C or .cc or .cpp or .cxx.

Indeed in the gcc/testsuite, there is some variation:

$ cd $HOME/gcc/trunk/gcc/testsuite
$ find . -name \*.c -print | wc -l
56033
$ find . -name \*.C -print | wc -l
20738
$ find . -name \*.cc -print | wc -l
196
$ find . -name \*.cpp -print | wc -l
44
$ find . -name \*.cxx -print | wc -l
0

Is there any value in using the same filename extension for all C++ files ?

Reply via email to