Mercurial > hg > openttd
changeset 11898:cd0f14c0b065 draft
(svn r16298) -Change: silence some pointless/unsolveable ICC warnings/remarks (multicharacter character literal potential unportable/autovectorised this loop)
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 13 May 2009 17:46:41 +0000 |
parents | b29337cb73a4 |
children | fc1af9d26d2c |
files | config.lib |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/config.lib +++ b/config.lib @@ -1076,6 +1076,12 @@ if [ "$cc_version" = "10.1" ]; then CFLAGS="$CFLAGS -Wno-multichar" fi + + if [ "$cc_version" = "11.0" ]; then + # warning 1899: multicharacter character literal (potential portability problem) (e.g. 'FOOD') + # vec report defaults to telling where it did loop vectorisation, which is not very important + CFLAGS="$CFLAGS -vec-report=0 -wd1899" + fi else # Enable some things only for certain GCC versions cc_version=`$cc_host -dumpversion | cut -c 1,3`