🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by edx Tue, 26 Jan 1993 17:06
Re: objc.h broken ?
#889
Author: edx
Date: Tue, 26 Jan 1993 17:06
15 lines
929 bytes
> In file included from /src/gnu/gcc-2.3.2/objc/Object.h:29, from Int.m:2:  
> /src/gnu/gcc-2.3.2/objc/objc.h:346: parse error before `va_list'       
> prompt>  
  
I had this problem too when I was compiling gcc2.3.3 for our
Indigo.  I got around it by putting an "#include <varargs.h>"
in the Object.h file *before* the "#include objc.h" line.
After that, things went peachy.  Until I tried to run a
compiled ObjC program.  Then I got the dreaded "core.c:
failed assertion 'initialized'".  Let me know if you get
this error when you get the compiler up and running.

Howard Cole
USU Space Dynamics Lab
edx@cc.usu.edu
"failed assertion" in core.c
#897
Author: Richard Stallman
Date: Tue, 26 Jan 1993 22:18
53 lines
2189 bytes
The problem of getting "failed assertion" in core.c is almost
certainly a GCC bug.  But I cannot debug it because I do not
understand how that code works.

I could study it and fix the problem, but it would take time.  Many of
you who are reading this could do that with no more time than I would
need.

To get the maximum progress on GNU with the resources available, I
think it is best if I work on other things and let this wait until one
of you decides to debug it.  Our rate of progress is measured by how
many people contribute.

Here is a patch I was sent to fix a bug in core.c.  I believe it does
not fix this problem, but you might as well have the latest version
to work from.

===================================================================
RCS file: /home/fsf/rms/cc/objc/RCS/core.c,v
retrieving revision 1.14
diff -a -c1 -r1.14 core.c
*** core.c	1993/01/11 05:10:46	1.14
--- core.c	1993/01/14 20:46:05
***************
*** 1172,1174 ****
  	 node = hash_next (module_hash_table, node))
!       record_store (NULL, record);
  			
--- 1172,1180 ----
  	 node = hash_next (module_hash_table, node))
!       {
! 	int nclasses = ((Module_t) node->value)->symtab->cls_def_cnt;
! 	int j;
! 
! 	for (j = 0; j < nclasses; j++)
! 	  record_store (NULL, record);
!       }
  			
***************
*** 1177,1179 ****
  	 node = hash_next (module_hash_table, node))
!       record_store (NULL, record);
    }	
--- 1183,1191 ----
  	 node = hash_next (module_hash_table, node))
!       {
! 	int nclasses = ((Module_t) node->value)->symtab->cls_def_cnt;
! 	int j;
! 
! 	for (j = 0; j < nclasses; j++)
! 	  record_store (NULL, record);
!       }
    }	
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads