lkml.org 
[lkml]   [2004]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Linux 2.4.26-pre2
From
Date
    Eyal> In standard C we declare all variables at the top of a
Eyal> function. While some compilers allow extension, it is not a
Eyal> good idea to get used to them if we want portable code.

Horst> Oh, come on. This is _kernel_ code, it won't ever be
Horst> compiled with anything not GCC-compatible.

gcc 2.95 rejects declarations after code. The kernel, especially
kernel 2.4, shouldn't use this particular extension, even if gcc 3
accepts it.

- R.

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

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.041 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site