Re: [cc65] return vs. exit()

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-10-18 20:30:54
On Sun, Oct 18, 2009 at 07:03:19PM +0200, Ullrich von Bassewitz wrote:
> Thanks for the hint. I will offer a solution for this in the next major
> release.

It's in the snapshot now: You can add "__attribute__((noreturn))" to a
function to mark it as "does not return". The standard exit() function is
already marked with this attribute in the stdlib.h header file.

Regards


        Uz



P.S.: Currently there are no docs for this feature.

-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Oct 18 20:33:32 2009

This archive was generated by hypermail 2.1.8 : 2009-10-18 20:33:34 CEST