* -Wshadow
@ 2004-03-01 15:04 Richard B. Johnson
0 siblings, 0 replies; only message in thread
From: Richard B. Johnson @ 2004-03-01 15:04 UTC (permalink / raw)
To: Linux kernel
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-01 15:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-01 15:04 -Wshadow Richard B. Johnson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®