home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!pilchuck!fnx!sgihbtn!dkarr
- From: dkarr@sierra.com (David Karr)
- Subject: Re: something nasty
- Message-ID: <1992Nov9.171715.20728@sierra.com>
- Sender: news@sierra.com
- Nntp-Posting-Host: dopey
- Organization: Sierra Geophysics, Kirkland WA
- X-Newsreader: Tin 1.1 PL4
- References: <1992Nov06.105523.3309@ncrcae.ColumbiaSC.NCR.COM>
- Date: Mon, 9 Nov 1992 17:17:15 GMT
- Lines: 52
-
- syackey@ccscola.Columbia.NCR.COM (Steve Yackey) writes:
- : In article <540@ulogic.UUCP> hartman@ulogic.UUCP (Richard M. Hartman) writes:
- : >In article <1992Nov1.224626.771@BofA.com> dan@BofA.COM (Dan Brockman) writes:
- : >>
- : >>If you can explain this, please send me email and
- : >>tell me how to fix my code so it runs.
- : >>
- : >>---------------- the big nasty --------------------
- : >>
- : >>
- : >>"Dbasesw.c", line 1842: internal <<AT&T C++ Translator
- : >>2.1.03 08/31/90>> error: bus error (or something nasty
- : >> like that)
- : >
- : >1) I have seen this (SCO ODT, HCR C++ compiler). No rhyme or reason
- : > that we've ever been able to determine. Sometimes just simple
- : > syntax errors.
- : >
- : >2) You did't give us the code w/ the problem (which may or may not
- : > have helped...)
- : >
- :
- : the magic fix (works here) is to take the entire function, i.e., stuff
- : between the {}, that has the error, line 1842 in this case, yank it out
- : and stick it at the top of the source file.
- :
- : have no idea what this does, but it has always worked.
- :
-
- (I have a suspicion we have a problem with our outbound news. If you
- read news frequently, could you indicate that you saw this note in
- email?)
-
- As I mentioned before, we only get that on the HP compiler, and only
- if we compile with "-g". I tried moving the function that got the
- error to the "top" of the source file (first function after #include
- section), but it didn't fix the error. It did change the error
- message, though.
-
- This is the error I get before moving the function:
-
- CC: "/tmp_mnt/sambu/people/dkarr/work/new2dm/ui/CrossSection.cc", line 593: internal error: bus error (or something nasty like that) (3058)
-
- This is what I get after moving the function:
-
- CC: "/tmp_mnt/sambu/people/dkarr/work/new2dm/ui/CrossSection.cc", line 575: internal error: (function: DbgPush::~DbgPush()) Optdriver: Instruction outside a procedure. (6731)
-
- --
- David M. Karr
- Sierra Geophysics, Inc.
- ARPA: dkarr@sierra.com, UUNET: uunet!sgihbtn!dkarr
- Phone: (206) 822-5200 (x343)
-