# HG changeset patch # User frosch # Date 2016-12-22 12:59:46 # Node ID 0ee0019bc586eac5ae13514509ea48360728212d # Parent 02bc6b11cc37c9a2a8de08d96fbd6401eceb70b8 (svn r27703) -Change [FS#6532]: [gcc] Wnarrowing and Wfree-nonheap-object do no longer trigger in gcc 4.9.2, so reenable them. diff --git a/config.lib b/config.lib --- a/config.lib +++ b/config.lib @@ -1399,7 +1399,7 @@ make_compiler_cflags() { flags="$flags -fno-tree-vrp" fi - if [ $cc_version -ge 407 ]; then + if [ $cc_version -eq 407 ]; then # Disable -Wnarrowing which gives many warnings, such as: # warning: narrowing conversion of '...' from 'unsigned int' to 'int' inside { } [-Wnarrowing] # They are valid according to the C++ standard, but useless.