Ah.  Got it.  I bet they're overstepping C and that's why the latest gcc
backs away from this.  Anyway, my C library calls it "volatile void", which
was what it took to make gcc happy.  I see now that I should make the
kernel function have a different name (because he *isn't* the exit system
call, although he implements it).  I'll fiddle this for the next release.
Thanks for the report.
                                                Andy
>
>
>On Mon, 16 Aug 1993, Andrew Valencia wrote:
>
>> >The fatal errors were in files mach/syscall.c and kern/proc.c.  They
>> >contain usages and redefinitions of exit.
>> 
>> Exactly which kinds of errors?  I hit this with my 2.4.4 GCC, but fixed
>> it and thus am curious what variation of the problem exists on an  earlier
>> GCC.
>
>The errors are because exit() in VSTa is an integer valued function, not
>a voided function.  Here is the error text:
>
>../mach/syscall.c:22: conflicting types for `exit'
><built-in>:0: previous declaration of `exit'
>
>../kern/proc.c:535: conflicting types for `exit'
><built-in>:0: previous declaration of `exit'
>
>I'm going to switch in a day or so to 2.4.4 release.
>
>simmy
Received on Tue Aug 17 21:12:14 1993
This archive was generated by hypermail 2.1.8 : Wed Sep 21 2005 - 19:37:12 PDT