lkml.org 
[lkml]   [2000]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
On Tue, Sep 05, 2000 at 04:15:29PM -0400, Alexander Viro wrote:

2.5 the following?
* things like CONFIG_FOO are _always_ defined. As 0 or 1, that is.
* #ifdef CONFIG_FOO => if (CONFIG_FOO) in *.c. gcc will kill the unused
branches just fine.
* Yes, Virginia, it means that controlflow-affecting expansion has to
go. Good riddance, IMO.

* simple #define foo(x,y) definitions should be reimplemented as inline
functions?

In general -- make the compile more aware of the surroundings by
utilising the preprocessor less and less?


--cw


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.175 / U:5.440 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site