> -----Ursprüngliche Nachricht-----
> Von: Rasmus Tamstorf [SMTP:tamstorf@xxxxxxxxxxxxx]
> Gesendet am: Freitag, 9. Februar 2001 01:33
> An: jlim@xxxxxxxxxxxxxxxxxxxx
> Cc: naaman@xxxxxxxxxxxxxxxxxxxx; connolsv@xxxxxxxx; lsh@xxxxxxxxxxxx;
> info-inventor-dev@xxxxxxxxxxx
> Betreff: Re: OpenInventor on SUN, X error
>
> On Thu, 8 Feb 2001 jlim@xxxxxxxxxxxxxxxxxxxx wrote:
>
> > On Thu Feb 8 15:52:36 2001, tamstorf@xxxxxxxxxxxxx wrote:
> > >
> > > I've actually had to deal with this problem too, and although it does
> > > require a lot of cvs check-in/outs I would vote for changing the
> > > filenames. It's really easy to write a little script like the one
> below to
> > > do the job, so it shouldn't be too painful.
> > >
> > > The only little detail is that the source code actually does #include
> of
> > > .c++ files in some places. These of course also have to be change, but
> a
> > > quick perl script can take care of that too.
> > >
> > > Rasmus
> >
> > Yeah, and some people would prefer .cpp, .cxx, and whatnot. I going to
> just
> > keep it the way it is.
>
> wow, wow ... so much for being accomodating :-/ ".c++" happens to be a
> non-standard name for C++ files which is neither accepted by the Sun
> compiler nor by the Compaq Alpha compiler. A quick survey of the compilers
> I have available shows the following as being valid file name extensions :
>
> Compaq Alpha : .cxx, .CXX, .cpp, .CPP, .cc, .CC, or .C
> Sun WorkShop 6 : .c, .C, .cc, .cxx, or .cpp
> KAI CC : .c, .cc, .cpp, .cxx, .c++, .C, .CC, .CPP, .CXX, .C++
> g++ : .C, .cc, .cxx, .cpp, or .c++
> MIPS CC : .C, .c++, .c, .cc, .cpp, .CPP, .cxx or .CXX
>
> If there is no extension which is accepted by all compilers (including the
> ones I don't have) then I can understand your unwillingness to change it,
> but it looks to me like .cxx, .cpp, .cc, and .C would all work better than
> .c++.
>
Rasmus,
I absolutely agree with you in all but one point. The ".C" extension
could be ambiguous on
platforms that are case insensitive (Windows, ...).
Peter
|