Remove auto-generated errors.h
Update gitignore
Fix up pointer sign build warnings