From kde-core-devel Sat Sep 01 20:07:42 2001 From: Martijn Klingens Date: Sat, 01 Sep 2001 20:07:42 +0000 To: kde-core-devel Subject: Re: C++ file extensions (was Re: qt-copy updated) X-MARC-Message: https://marc.info/?l=kde-core-devel&m=99937476529754 On Saturday 01 September 2001 21:14, Alex Zepeda wrote: > On Fri, Aug 31, 2001 at 03:25:58PM +0200, Michael Matz wrote: > > Name one C++ compiler, which understands only one of .cpp or .cc. The > > "argument" about portability of .cpp and .cc is non-sense. A different > > matter it is for .c and .C with filesystems broken by design, but as > > said, that's a different matter. > > Well... MSVC++ doesn't grok .cc, but if you setup nmake you can use it > that way. You just loose syntax hilighting and any other benefits of an > IDE. Mostly not the compilers are broken, but rather the make logic and/or the GUI around it. I am quite sure Borland C++ Builder doesn't make .cc files show up in the 'add file to project' (the standard Windows "file open") dialog... And indeed... syntax highlight is gone in _any_ compiler on Windows with the exeception of ports from Unix (gvim for example). Also, there will not be a file association for .cc in the file manager either. All in all those were the reasons for me calling it "non-portable"... (I BTW agree with Malte and Michael that it might be a bit too much to turn CVS upside down, I didn't realize the amount of changes involved... Maybe we should leave it with the conclusion that .cpp is better, but .cc should not be changed and only _new_ files should have .coo extensions - or even retain the current status quo, though I still feel that standardization would be a great thing to have) Martijn, not even knowing what his own opinion is here...