Skip to content
  • Philip Withnall's avatar
    build: Don’t unconditionally enable -Werror for non-release builds · c2ccb163
    Philip Withnall authored and Olivier Crête's avatar Olivier Crête committed
    Do not unconditionally enable -Werror, since that breaks the build for
    people who have stricter compilation warnings enabled.
    
    Instead, add an --enable-compile-warnings configure flag which enables
    -Werror when passed as --enable-compile-warnings=error. This mimics the
    flag in gnome-common, for consistency. But we enable errors by default
    on non-released versions.
    c2ccb163