2010.06.14. 9:35 keltezéssel, Øyvind Harboe írta:
> Is there a gcc warning that we could enable to catch
> these sort of problems?

-Wshadow?

"Warn whenever a local variable shadows another local variable, parameter or
global variable or whenever a built-in function is shadowed."

Regards,
Gabor
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to