home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / cplus / 15870 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.3 KB  |  39 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!gatech!hubcap!ncrcae!ccscola!syackey
  3. From: syackey@ccscola.Columbia.NCR.COM (Steve Yackey)
  4. Subject: Re: something nasty
  5. Message-ID: <1992Nov06.105523.3309@ncrcae.ColumbiaSC.NCR.COM>
  6. Nntp-Posting-Host: ccscola
  7. Organization: NCR Corp, E&M-Columbia, Columbia, SC
  8. References: <1992Nov1.224626.771@BofA.com> <540@ulogic.UUCP>
  9. Date: Fri, 06 Nov 92 15:55:23 GMT
  10. Lines: 27
  11.  
  12. In article <540@ulogic.UUCP> hartman@ulogic.UUCP (Richard M. Hartman) writes:
  13. >In article <1992Nov1.224626.771@BofA.com> dan@BofA.COM (Dan Brockman) writes:
  14. >>
  15. >>If you can explain this, please send me email and
  16. >>tell me how to fix my code so it runs.
  17. >>
  18. >>---------------- the big nasty --------------------
  19. >>
  20. >>
  21. >>"Dbasesw.c", line 1842: internal <<AT&T C++ Translator 
  22. >>2.1.03 08/31/90>> error: bus error (or something nasty
  23. >> like that)
  24. >
  25. >1) I have seen this (SCO ODT, HCR C++ compiler).  No rhyme or reason
  26. >    that we've ever been able to determine.  Sometimes just simple
  27. >    syntax errors.
  28. >
  29. >2) You did't give us the code w/ the problem (which may or may not
  30. >    have helped...)
  31. >
  32.  
  33. the magic fix (works here) is to take the entire function, i.e., stuff
  34. between the {}, that has the error, line 1842 in this case, yank it out
  35. and stick it at the top of the source file.
  36.  
  37. have no idea what this does, but it has always worked.
  38.  
  39.