Re: Extensions calling C++

From: Date: Tue, 11 Jul 2000 13:27:10 +0000
Subject: Re: Extensions calling C++
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-24188@lists.php.net to get a copy of this message
Ahh, I see. Then you're right, CXX is the best. On Tue, Jul 11, 2000 at 03:03:58PM +0200, Sascha Schumann wrote: > 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 -- =============================================================================== Jade Nicoletti Nicoletti Net Services Tel. 01 240 4774 Geschäftsleitung Postfach 2519 Fax 01 240 4775 System-Administration 8021 Zürich ============================================[ Weitere Infos: http://nns.ch/ ]==

« previous php.dev (#24188) next »