Path: utzoo!utgpu!water!watmath!clyde!rutgers!umd5!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!3ksnn64 From: 3ksnn64@pur-ee.UUCP (Joe Cychosz) Newsgroups: comp.lang.c++ Subject: C++ on the Silicon Graphics 4D Message-ID: <7463@pur-ee.UUCP> Date: 4 Feb 88 18:41:37 GMT Reply-To: 3ksnn64@pur-ee.UUCP (Joe Cychosz) Organization: Purdue University Engineering Computer Network Lines: 19 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.