Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 1996 16:55:00 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-current@freebsd.org, j@uriah.heep.sax.de
Subject:   Re: lint
Message-ID:  <199603270555.QAA17578@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Ah.  Hmm, does lint grok exotic thing like ``__attribute(dead2)''
>anyway?  Or, does it simply drop the expression in the parens for an
>__attribute() statement?  Well, in the latter case, it must fake
>gcc >= 2.5, if i'm not mistaken.

It doesn't understand them even with -g.  I think the author plans to
fix this.  There has to be a way to tell lint that certain functions
don't return, and __attribute__((__noreturn__)) is a good way.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603270555.QAA17578>