-Wshadow

From: Richard B. Johnson
Date: Mon Mar 01 2004 - 10:03:55 EST



Don't know about the latest version(s), but with 2.4.25, compiling
with -Wshadow brings up a lot of potential problems. One can
turn off (temporarily) the built in functions to get rid of the
spurious warnings about memcpy(), etc., then you see that too many
variables to mention here are shadowed (probably thousands). Some
of them may be hazardous because they are spin-lock variables and
semaphores. There are also some shadowed functions. NotGood(tm)!


Cheers,
Dick Johnson
Penguin : Linux version 2.4.24 on an i686 machine (797.90 BogoMips).
Note 96.31% of all statistics are fiction.


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