Qansi-alias worked on 12.x, then caused miscompilation on 13.x, but now
works again passing all fate tests for version icl version 14.

Qansi-alias is the icl equivalent of -fstrict-aliasing.
---
 configure | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 928e5f4..3bed617 100755
--- a/configure
+++ b/configure
@@ -4021,8 +4021,9 @@ elif enabled_any msvc icl; then
     enabled debug && add_ldflags -debug
     enable pragma_deprecated
     if enabled icl; then
-        # basically -fstrict-aliasing that does not work (correctly) on icl 
13.x
-        check_cpp_condition "windows.h" "__ICL < 1300" && add_cflags 
-Qansi-alias
+        # -Qansi-alias is basically -fstrict-aliasing that does not work 
(correctly) on icl 13.x
+        check_cpp_condition "windows.h" "__ICL <  1300" && add_cflags 
-Qansi-alias
+        check_cpp_condition "windows.h" "__ICL >= 1400" && add_cflags 
-Qansi-alias
         # icl will pass the inline asm tests but inline asm is currently
         # not supported (build will fail)
         disable inline_asm
-- 
1.8.4.msysgit.0

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to