If I am compiling with gcc, and I have the Wall and Werror flags enabled, I will be able to catch some errors like the following when
gcc
Wall
Werror