added warnings= and warnings-as-errors options (only GCC for now)