compile with gcc and additional warnings