[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MiNT 1.10: misc bug fixes



Yves Pelletier <ypelletier@cmc.aes.doe.ca> writes:

|> The following portion of your patch to Mint 1.10 is giving me a=20
|> parsing error. Namely, gcc 2.5.8 complains that NORETURN does not
|> have a type or storage class, then aborts the compile.=20

|> BTW I did apply the optimization patch before this one. Any ideas?

|>> diff -ur orig/proto.h ./proto.h
|>> --- orig/proto.h=09Fri Feb 11 19:35:00 1994
|>> +++ ./proto.h=09Thu Feb 17 21:21:24 1994
|>> @@ -353,8 +353,8 @@
|>> void ARGS_ON_STACK ALERT P_((const char *s, ...));
|>> void ARGS_ON_STACK FORCE P_((const char *s, ...));
|>> void PAUSE P_((void));
|>> -EXITING void ARGS_ON_STACK FATAL P_((const char *s, ...));
|>> -EXITING void HALT P_((void));
|>> +EXITING void ARGS_ON_STACK FATAL P_((const char *, ...)) NORETURN;
|>> +EXITING void HALT P_((void)) NORETURN;
|>> void DUMPLOG P_((void));
|>> void do_func_key P_((int));
|>> =20

Please delete these lines from the patches. They are part of the
patches to include the new way of gcc to declare non-returning
function, and i forgot to remove all traces of it from the diff
output. Sorry for that. I will post the patches about this change to
the list in a day or so. (The symbol NORETURN will be #defined to
`__attribute__ ((noreturn))' for gcc >= 2.4.)

Andreas.

----------------------------------------------------------------------
Andreas Schwab                                  "And now for something
schwab@ls5.informatik.uni-dortmund.de            completely different"