tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: __dead functions



On Tue, Jul 22, 2008 at 15:48:29 +0200, Rhialto wrote:

> On Fri 18 Jul 2008 at 21:10:13 +0400, Valeriy E. Ushakov wrote:
> > Actually we can arrange for lint's /* NOTREACHED */ comment to appear
> > at the end of that macro so that one macro covers "notreached"
> > semantics for all the tools we use.
>
> That won't actually work, since comments are removed in translation
> phase 3 and macros are expanded in translation phase 4, so after the
> comments are gone.

Then how does all those CONSTCOND lint comments in macros do work? :)
Cpp has -CC option for a reason.


SY, Uwe
-- 
uwe%stderr.spb.ru@localhost                       |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen


Home | Main Index | Thread Index | Old Index