Increased warning level, fixed resulting warnings, changed std form c99 to gnu99

(0) -10 -1 +1 +10 +30 tip

mercurial