home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / cplus / 13659 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!eff!world!pkturner
  3. From: pkturner@world.std.com (Prescott K Turner)
  4. Subject: Re: ARM code don't work
  5. Message-ID: <BuLnuy.5qq@world.std.com>
  6. Organization: The World Public Access UNIX, Brookline, MA
  7. References: <1992Sep14.181108.8639@us-es.sel.de>
  8. Date: Tue, 15 Sep 1992 03:18:33 GMT
  9. Lines: 17
  10.  
  11. > I tried the code from pages 292 and 293 of the ARM on various C++ compilers.
  12. >
  13. > I found that cfront 2.1, cfront 3.0, GNU 1.39, GNU 222 all got the same answer.
  14. >
  15. > Unfortunately, not the same answer as the ARM.
  16. >
  17. > Can anyone tell me which is right ?
  18.  
  19. The ARM.  Pages 292 and 293 have been generally accepted as the norm for a
  20. couple of years, regarding the order of construction of base classes.
  21. Some compilers such as LPI C++ and Oregon C++ follow the ARM and agree with
  22. its answer to your program.
  23. --
  24. Prescott K. Turner, Jr.
  25. Liant Software Corp. (developers of LPI languages)
  26. 959 Concord St., Framingham, MA 01701 USA    (508) 872-8700
  27. UUCP: uunet!lpi!pkt                          Internet: pkt@lpi.liant.com
  28.