Suppress warnings of various kinds.
Merge pull request #191 from atgeirr/fix-warnings

Suppress warnings of various kinds.