Re: Extensions calling C++

From: Date: Tue, 11 Jul 2000 13:03:58 +0000
Subject: Re: Extensions calling C++
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-24186@lists.php.net to get a copy of this message
On Tue, 11 Jul 2000, Jade Nicoletti wrote: > I'm for .cpp > > Quoting from the gcc manual: > .c C source; preprocess, compile, assemble > .C C++ source; preprocess, compile, assemble > .cc C++ source; preprocess, compile, assemble > .cxx C++ source; preprocess, compile, assemble > .m Objective-C source; preprocess, compile, assemble > .i preprocessed C; compile, assemble > .ii preprocessed C++; compile, assemble > > So, cpp is the C Preprocesor, but not the file extention of preprocessed C Well, noone said that .cpp is the file extension of preprocessed C. But when you deal with the build system, you will notice that CPP always refers to the C preprocessor. That is an ambiguity which can be avoided IMHO. - Sascha

« previous php.dev (#24186) next »