fix global compiler flag configuration
show unexpected errors