This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: function reference from standard library


   Date: Tue, 13 Oct 1998 08:16:20 -0700 (PDT)
   From: Art Berggreen <art@acc.com>

   You can also use volatile on functions (I think this is a GNU extension).
   This specifies that the function will never return.

This has been deprecated, don't use it [it may not work anymore for that
matter].  Instead use __attribute__ ((__noreturn__)).

e.g.

extern void exit (int) __attribute__ ((__noreturn__));
________________________________________________
To get help for the crossgcc list, send mail to
crossgcc-request@cygnus.com with the text 'help'
(without the quotes) in the body of the message.