On Fri, May 06, 2005 at 01:59:21PM +0200, Werner LEMBERG wrote:
> > Is there any reason to stay with `.cc' as the extension for C++ files
> > for the autoconf tests, given that `.cpp' is much more portable?
>
> Not that I know of. I installed your patch. Thanks.
Sorry I didn't follow this thread and exact reason to change.
I see this as a good reason to leave it as .cc
$ cat tryme.cc
int main(int argc, char *argv[])
{
return 0;
}
$ make tryme
c++ -O2 -o tryme tryme.cc
$ rm tryme
$ mv tryme.cc tryme.cpp
$ make tryme
make: don't know how to make tryme. Stop in /home/zvezdan.
$ gmake tryme
g++ tryme.cpp -o tryme
Obviously only gmake recognizes .cpp as a C++ file on a Unix system.
With older version of gmake on a different Unix machine .cpp has not
been recognized.
Regards,
Zvezdan Petkovic
_______________________________________________
Groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff