home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 12849 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  2.0 KB

  1. Path: sparky!uunet!olivea!sgigate!odin!fido!lever.asd.sgi.com!thad
  2. From: thad@lever.asd.sgi.com (Thad Beier)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: Inventor with g++
  5. Keywords: Inventor g++
  6. Message-ID: <p165ims@fido.asd.sgi.com>
  7. Date: 25 Aug 92 17:16:20 GMT
  8. References: <Bsu3xy.6o6@vizbiz.com> <8DZ5DGD@mailgzrz.tu-berlin.de>
  9. Sender: news@fido.asd.sgi.com (Usenet News Admin)
  10. Reply-To: thad@sgi.com
  11. Organization: Silicon Graphics
  12. Lines: 33
  13.  
  14. In article <8DZ5DGD@mailgzrz.tu-berlin.de>, bzfpaets@vispars1.zib-berlin.de (Paetsch) writes:
  15. |> We just got the Inventor and I tried the simplest example of the Programming
  16. |> Guide. Because of the lack of the SGI C++-compiler I tried it with GNU's g++ 
  17. |> (Version 2.2.2). The result was a big amount of error and warning messages. It was the
  18. |> first time I used the g++-compiler and my first step towards Inventor-programming.
  19. |> Is there anybody who has more then NO experience with this. Is it possible to use the
  20. |> g++-compiler for Inventor or do I have to buy the SGI C++-Compiler? Any hints and tips
  21. |> are welcome.
  22. |> Content-Length: 76
  23. |> 
  24. |> Olaf Paetsch
  25. |> Konrad-Zuse-Zentrum fuer Informationstechnik (ZIB)
  26. |> Berlin
  27. |> 
  28.  
  29. I have done some experiments with Inventor and g++, and came
  30. across some extremely difficult-to-fix problems.  The biggest one
  31. was with initializations of enumerations, which exist in about 20%
  32. of the (many) Inventor header files.  G++ thinks that the enumeration
  33. initializations are not constants, when in fact they are.  Fixing these
  34. would require changing all of enumerations to be explicit constants,
  35. which would make them much harder to understand.
  36.  
  37. I was using g++ version 2.2.2.  Until there is a version of g++ that
  38. fixes this, and a few other problems, it will be our policy that we
  39. will not support Inventor under g++.  I am unhappy about having
  40. to say this,  but our team is too small to chase the moving target
  41. of g++ while doing everything else that we are doing (like chasing
  42. a moving SGI c++, but that's another story)
  43.  
  44.  
  45. -- 
  46. Thad Beier..Silicon Graphics..415)390-1028..thad@sgi.com..C-172A N7770T.....FLY!
  47.