Removed some warnings
Fixed more warning: override and goto case.
Merge pull request #3 from Geod24/fix-compilation

Fix compilation warnings