Print args

First commit enables format and param checks in printf-like methods (only on GNUC compilers).
Second commit fixed all reported errors.