home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / cplus / 16202 < prev    next >
Encoding:
Internet Message Format  |  1992-11-13  |  1.6 KB

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!news.Brown.EDU!noc.near.net!news.centerline.com!matt
  2. From: matt@centerline.com (Matt Landau)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: something nasty
  5. Date: 13 Nov 1992 06:58:47 GMT
  6. Organization: CenterLine Software, Inc.
  7. Lines: 22
  8. Message-ID: <1dvjn7INNhrs@armory.centerline.com>
  9. References: <1992Nov06.105523.3309@ncrcae.ColumbiaSC.NCR.COM> <1992Nov9.171715.20728@sierra.com> <1992Nov13.050829.952@BofA.com>
  10. NNTP-Posting-Host: 140.239.1.32
  11.  
  12. In <1992Nov13.050829.952@BofA.com> dan@BofA.com (Dan Brockman) writes:
  13.  
  14. >I have received much correspondence of late regarding
  15. >error message "...bus error or something nasty...".  Many
  16. >have seen it, and each seems to have traced it to a different
  17. >specific problem.  No strong patterns.  Many suggested
  18. >"get another compiler".  
  19.  
  20. That's because there *is* no one specific cause of the problem.  
  21.  
  22. The message you're seeing is cfront's all-purpose error message for 
  23. situations when things go awry and the C++ translator either crashes 
  24. or gives up due to internal errors of some sort.
  25.  
  26. In my own experience, I've tended to see internal errors when trying to 
  27. compile expressions that are too complicated for cfront (which you can 
  28. often deal with by finding the offending expression and simplifying it, 
  29. splitting into multiple statements and introducing explicit temporaries 
  30. as needed), and pushing too hard on nested classes in cfront 2.1.x
  31. --
  32.  Matt Landau            Waiting for a flash of enlightenment
  33.  matt@centerline.com              in all this blood and thunder
  34.