Gcc warning campaign

Hello,

Here a rather big update to fix lots of gcc warning. Most are not important but they hide real warning. Anyway a review is welcome :)