This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: bfd_abort vs. noreturn vs. _exit
- From: Tristan Gingold <gingold at adacore dot com>
- To: Jay K <jay dot krell at cornell dot edu>
- Cc: binutils <binutils at sourceware dot org>
- Date: Mon, 10 May 2010 09:38:40 +0200
- Subject: Re: bfd_abort vs. noreturn vs. _exit
- References: <COL101-W6A0A809E08447FC04547AE6F70@phx.gbl>
> /usr/local/alpha-dec-vms/include/unistd.h doesn't declare _exit with such an annotation.
> Possibly the native compiler has no such mechanism.
AFAIK, the native compiler (dec-c) has no such mechanism. The correct way to fix that is through
fixincludes.
Tristan.
>
>
> build=darwin
> target=host=alpha-dec-vms
> gcc=4.5.0
>
>
> It seems to me there is a slight tension between portability and quality.
> Quality says to put in the attribute for slightly better compiler analysis/diagnostics.
> Portability says to remove it.
>
>
> - Jay
>