turned on compiler warnings are errors flag and pedantic flag