home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / gcc / bug / 2825 < prev    next >
Encoding:
Text File  |  1992-11-24  |  1.5 KB  |  47 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!csn.org!fedor
  3. From: fedor@csn.org (Adam Fedor)
  4. Subject: Re: Fatal signal 10 with ObjC.
  5. Message-ID: <1992Nov23.205811.1740@colorado.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: University of Colorado, Boulder
  8. References: <By16vK.oK@unixhub.SLAC.Stanford.EDU>
  9. Distribution: gnu
  10. Date: Mon, 23 Nov 1992 20:58:11 GMT
  11. Approved: bug-gcc@prep.ai.mit.edu
  12. Lines: 33
  13.  
  14. In article <By16vK.oK@unixhub.SLAC.Stanford.EDU> enelson@apnext1.slac.stanford.edu (Eric M. Nelson) writes:
  15. >  The following simple program fails to compile with gcc 2.3.1 on a NeXT  
  16. >running NeXTstep 3.0. Note that <stdarg.h> is required by <objc/Object.h>,  
  17. >but <objc/Object.h> forgets to include it.
  18. >
  19. >#include <stdarg.h>
  20. >#include <objc/Object.h>
  21. >
  22. >int main(){
  23. >  id anObject;
  24. >  anObject=[Object new];
  25. >  }
  26. >
  27.  
  28. I've got gcc-2.3.1 on a VAXstation (vax-dec-ultrix) and this program
  29. compiles nicely, but when I run it, I get the error:
  30.  
  31. focus:~/src>test
  32. record.h:123: failed assertion `i'
  33. Illegal instruction
  34.  
  35. P.S. I don't have gdb on my machine, but hope to get it soon and see if
  36. I can trace this.
  37.  
  38. P.P.S.  I sort-of remember some kind of mailing list for GNU objective-c
  39. but I forget what it is.  Is it real or am I just imaginging it?
  40.  
  41.  
  42. -- 
  43. Adam Fedor. CU, Boulder            | Fudd's Law of Opposition: Push something  
  44. fedor@boulder.colorado.edu (W)      |   hard enough and it will fall over. 
  45. adam@bastille.rmnug.org (H,NeXTMail)|
  46.  
  47.