Date: 07/10/00
- Next message: John Fuetsch: "[PHP-DEV] Invalid Directory Resource?"
- Previous message: jonathan <email protected>: "[PHP-DEV] PHP 4.0 Bug #5497: Beeps when run in Apache"
- In reply to: Zeev Suraski: "Re: [PHP-DEV] Extensions calling C++"
- Next in thread: david <email protected>: "Re: [PHP-DEV] Extensions calling C++"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 11:55 PM 7/9/00 +0300, Zeev Suraski wrote:
>At 23:47 09/07/2000, Sascha Schumann wrote:
>>On Sun, 9 Jul 2000, Zeev Suraski wrote:
>>
>> > At 23:08 09/07/2000, Sascha Schumann wrote:
>> > >.cpp sucks, because cpp is the C preprocessor.
>> >
>> > Is that a common convention? I don't think gcc generates .cpp files (you
>> > choose which file to redirect it to..?)
>>
>>Nope, it is just the name which is misleading. Imagine a file called
>>foo.lex which is handled by yacc.
>
>Well, I for once would have never been mislead by .cpp; I suspect most
>others would also expect .cpp to be C++ and not a preprocessed C file,
>going all the way back to the days of Turbo C++.
>
>What do the rest of you think?
I use .cpp for all of my C++ projects.
Never had any problems with it both using g++ and using other UNIX such as
IRIX C++ compilers.
Andi
--- Andi Gutmans <andi <email protected>> http://www.zend.com/-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: John Fuetsch: "[PHP-DEV] Invalid Directory Resource?"
- Previous message: jonathan <email protected>: "[PHP-DEV] PHP 4.0 Bug #5497: Beeps when run in Apache"
- In reply to: Zeev Suraski: "Re: [PHP-DEV] Extensions calling C++"
- Next in thread: david <email protected>: "Re: [PHP-DEV] Extensions calling C++"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

