info-inventor-dev
[Top] [All Lists]

Re: OpenInventor on SUN, X error

To: jlim@xxxxxxxxxxxxxxxxxxxx
Subject: Re: OpenInventor on SUN, X error
From: Rasmus Tamstorf <tamstorf@xxxxxxxxxxxxx>
Date: Thu, 8 Feb 2001 16:32:43 -0800
Cc: naaman@xxxxxxxxxxxxxxxxxxxx, connolsv@xxxxxxxx, lsh@xxxxxxxxxxxx, info-inventor-dev@xxxxxxxxxxx
In-reply-to: <200102090004.QAA19421@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-info-inventor-dev@xxxxxxxxxxx
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

-----------------------------------------------------------------------------
Rasmus.Tamstorf@xxxxxxxxxx         "A problem worthy of attack, 
Walt Disney Feature Animation       proves its worth by hitting back" Kumbel
-----------------------------------------------------------------------------




<Prev in Thread] Current Thread [Next in Thread>