Modified error messages
Add -Wall option