Article View: gnu.gcc.bug
Article #1479Re: Fatal signal 10 with ObjC.
From: Adam Fedor
Date: Mon, 23 Nov 1992 20:58
Date: Mon, 23 Nov 1992 20:58
32 lines
1535 bytes
1535 bytes
In article <By16vK.oK@unixhub.SLAC.Stanford.EDU> enelson@apnext1.slac.stanford.edu (Eric M. Nelson) writes:
> The following simple program fails to compile with gcc 2.3.1 on a NeXT
>running NeXTstep 3.0. Note that <stdarg.h> is required by <objc/Object.h>,
>but <objc/Object.h> forgets to include it.
>
>#include <stdarg.h>
>#include <objc/Object.h>
>
>int main(){
> id anObject;
> anObject=[Object new];
> }
>
I've got gcc-2.3.1 on a VAXstation (vax-dec-ultrix) and this program
compiles nicely, but when I run it, I get the error:
focus:~/src>test
record.h:123: failed assertion `i'
Illegal instruction
P.S. I don't have gdb on my machine, but hope to get it soon and see if
I can trace this.
P.P.S. I sort-of remember some kind of mailing list for GNU objective-c
but I forget what it is. Is it real or am I just imaginging it?
--
Adam Fedor. CU, Boulder | Fudd's Law of Opposition: Push something
fedor@boulder.colorado.edu (W) | hard enough and it will fall over.
adam@bastille.rmnug.org (H,NeXTMail)|
Technical Details
Message-ID:
<1992Nov23.205811.1740@colorado.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!csn.org!fedorReferences:
<By16vK.oK@unixhub.SLAC.Stanford.EDU>Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!csn.org!fedor From: fedor@csn.org (Adam Fedor) Subject: Re: Fatal signal 10 with ObjC. Message-ID: <1992Nov23.205811.1740@colorado.edu> Sender: gnulists@ai.mit.edu Organization: University of Colorado, Boulder References: <By16vK.oK@unixhub.SLAC.Stanford.EDU> Distribution: gnu Date: Mon, 23 Nov 1992 20:58:11 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 33