On Fri, Jan 18, 2008 at 10:28:39AM -0800, Linus Torvalds wrote:
>
>
> On Fri, 18 Jan 2008, Sam Ravnborg wrote:
> >
> > One fundamental difference is that with the above syntax we always
> > compile both versions of the code - so we do not end up with one
> > version that builds and another version that dont.
>
> Yes, in that sense it tends to be better to use C language constructs over
> preprocessor constructs, since error diagnostics and syntax checking is
> improved.
>
> So yeah, I'll give you that it can be an improvement. It's just not what I
> was really hoping for.
Just to clarify - my comment was solely related to the usage
of if (HAVE_*) versus #ifdef.
I had nothing to do with the actual discussion which I do not try to follw .
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html