Re: [cc65] return vs. exit()

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-10-18 22:35:13
On Sun, Oct 18, 2009 at 08:45:31PM +0200, Oliver Schmidt wrote:
> > __attribute__((noreturn))
>
> Hm, somehow I have the feeling that I've seen this syntax already somewhere ;-)

gcc does it this way. And the double parenthesis is enforced so you can use an
empty macro

        #define __attribute__()

to remove the sequence for compilers that don't support it.

Regards


        Uz


-- 
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 22:38:06 2009

This archive was generated by hypermail 2.1.8 : 2009-10-18 22:38:08 CEST