diff options
author | rubidium <rubidium@openttd.org> | 2009-05-13 17:46:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-13 17:46:41 +0000 |
commit | 5bffbcdeca986d682534fff3797be694f27733ca (patch) | |
tree | 6dd6b63c194108b12b22f9a8db5be5418a201ead /config.lib | |
parent | 5f81ba886c0d1341441d68b3346a374c77aac972 (diff) | |
download | openttd-5bffbcdeca986d682534fff3797be694f27733ca.tar.xz |
(svn r16298) -Change: silence some pointless/unsolveable ICC warnings/remarks (multicharacter character literal potential unportable/autovectorised this loop)
Diffstat (limited to 'config.lib')
-rw-r--r-- | config.lib | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.lib b/config.lib index 132b0b456..0f7af0d3d 100644 --- a/config.lib +++ b/config.lib @@ -1076,6 +1076,12 @@ make_cflags_and_ldflags() { 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` |