Subject: Re: Did something happen to setjmp & longjmp?
To: Paul Goyette <paul@pgoyette.bdt.com>
From: Ken Nakata <kenn@er6.rutgers.edu>
List: port-mac68k
Date: 03/09/1996 18:46:17
> Got this error message when building kernel - supped to -current as of 
> yesterday (Mar 8) morning...
> 
> making sure the fpsp is up to date...
> `fpsp.o' is up to date.

> cc -O -Werror -msoft-float -I. -I../../../../arch
[...]
> -Dmac68k -c ../../../../arch/mac68k/mac68k/fpu.c

> In file included from ../../../../arch/mac68k/mac68k/fpu.c:48:
> /usr/include/setjmp.h:57: conflicting types for `setjmp'
> ../../../../sys/systm.h:194: previous declaration of `setjmp'
> /usr/include/setjmp.h:58: conflicting types for `longjmp'
> ../../../../sys/systm.h:195: previous declaration of `longjmp'
> *** Error code 1
> 
> Stop.

I've been told that no kernel source should rely on the standard C
headers (the ones in /usr/include).  I think fpu.c should not include
/usr/include/setjmp.h.

ken