diff options
author | frosch <frosch@openttd.org> | 2016-12-22 12:59:46 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2016-12-22 12:59:46 +0000 |
commit | 41e5e7626e45ada3c39af40ff541f42de458a2dc (patch) | |
tree | f4cd59321933f4ff81e71d85db9646cec16f47f2 | |
parent | 3ad11afb488345131ca935dd7b54c1e30c989ff1 (diff) | |
download | openttd-41e5e7626e45ada3c39af40ff541f42de458a2dc.tar.xz |
(svn r27703) -Change [FS#6532]: [gcc] Wnarrowing and Wfree-nonheap-object do no longer trigger in gcc 4.9.2, so reenable them.
-rw-r--r-- | config.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib index a144b9e3e..bf52a94c1 100644 --- 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. |