added extra error and standard compiler flags