• D
    Enable all warnings permanently & default to -Werror for GIT builds · 851117bd
    Daniel P. Berrange 提交于
    Given that we auto-detect whether each -Wxxxx flag is supported by
    GCC, and we are warning-free and use automake silent rules, there
    is no compelling reason to allow compile warnings to be disabled.
    
    Replace the --enable-compile-warnings flag with a simpler
    --enable-werror flag, which defaults to 'yes' if building
    from GIT, or 'no' if building from tar.gz
    
    This helps ensure that everyone writing patches for libvirt will
    take care to fix their warning problems before submitting for
    review
    
    * autobuild.sh: Force -Werror
    * configure.ac: Update for LIBVIRT_COMPILE_WARNINGS macro change
    * m4/virt-compile-warnings.m4: Permanently enable all warnings,
      auto-enable Werror for GIT builds
    851117bd
autobuild.sh 2.0 KB
新手
引导
客服 返回
顶部