add missing __NO_INLINE__ preprocessor define
add -Wenum-conversion
fix enum-conversion warnings given for different qualifiers
fix wrong line numbers in invalid byte sequence error
fix typo