add error_reporting line to make sure the file will report every error/warning

Signed-off-by: Chan Jun Wei <chanjunweimy@gmail.com>