From: Thiago Macieira Date: Thu, 20 Oct 2011 19:23:32 +0000 (+0200) Subject: Use the GCC pragma on GCC only X-Git-Tag: 071012131707~679 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d870965949af8298e18fc5d86a2510c3fd85f884;p=profile%2Fivi%2Fqtdeclarative.git Use the GCC pragma on GCC only Change-Id: I4a0680bddb4d4a73362406ddcd30569ee664d0cc Reviewed-by: Aaron Kennedy --- diff --git a/src/qml/qml/v8/qv8qobjectwrapper.cpp b/src/qml/qml/v8/qv8qobjectwrapper.cpp index d311218..b2a1d25 100644 --- a/src/qml/qml/v8/qv8qobjectwrapper.cpp +++ b/src/qml/qml/v8/qv8qobjectwrapper.cpp @@ -63,7 +63,7 @@ Q_DECLARE_METATYPE(QQmlV8Handle); QT_BEGIN_NAMESPACE -#if defined(__GNUC__) +#if defined(__GNUC__) && !defined(__INTEL_COMPILER) # if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 // The code in this file does not violate strict aliasing, but GCC thinks it does // so turn off the warnings for us to have a clean build