[comp.lang.c++] C++ on the Silicon Graphics 4D

3ksnn64@pur-ee.UUCP (Joe Cychosz) (02/05/88)

Has anyone ported C++ version 1.2.1 to the Silicon Graphics 4D (the one
with the MIPS processor).  The version I have worked on thus far has one
little problem in that when C++ defines functions to C it strips out all
of the parameter definitions.  For example:

	extern abc (double, float);

is transmitted as

	extern abc ();

With this the C compiler assumes both arguments to be double which causes
problems when trying to use the graphics library.  The C compiler on the
SGI has been extended to accept parameter typing in function definitions.

I am willing to share what I have done so far with others, such as the
changes necessary to /usr/include/CC and size.h.  We have also been
converting /usr/include/gl files to C++ as we need them.