home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / g / help / 1448 < prev    next >
Encoding:
Text File  |  1992-11-17  |  901 b   |  32 lines

  1. Newsgroups: gnu.g++.help
  2. Path: sparky!uunet!stanford.edu!ames!pacbell.com!iggy.GW.Vitalink.COM!nocsun.NOC.Vitalink.COM!wetware!abekas!mikep
  3. From: mikep@abekas.com (Mike Park)
  4. Subject: RE: ET++ and g++
  5. Message-ID: <1992Nov17.194855.6353@abekas.com>
  6. Organization: Abekas Video Systems Inc., Redwood City, California.
  7. Date: Tue, 17 Nov 1992 19:48:55 GMT
  8. Lines: 22
  9.  
  10. In gnu.g++.help you write:
  11.  
  12. >Anyone have any luck building ET++ with g++? Any tips would be appreciated. I believe I'm running g++ 1.40.
  13.  
  14. >Thanks in advance,
  15.  
  16. I compiled it without major problems with gcc-2.2.2.  The only changes
  17. I remember that are required are to add initialisers for statics defined
  18. within a class.
  19.  
  20. ie    class fred {
  21.     static int i;
  22.     };
  23.  
  24.     int fred::i = 0;    // <--- must be added
  25.  
  26. This requirement is part of the latest ARM c++ reference.
  27.  
  28. Mike
  29. -- 
  30. Mike Park
  31. Abekas Video Systems Inc.                 NET: mikep@abekas.com
  32.