Is there a setting I can change so I can treat all warnings as errors ?
Available options are listed here: http://www.keil.com/support/man/docs/c51/c51_compiling.htm