Thanks for looking into this for me Farid. So Intel C++ on Linux
doesn't support these intrinsics at all? I can't find them in the
Intel C++ Intrinsics Reference but I thought they were trying to
make the compiler 100% compatible with gcc, including all of its
extensions.

Martin

[EMAIL PROTECTED] wrote:
Author: faridz
Date: Wed Apr  2 09:35:26 2008
New Revision: 643964

URL: http://svn.apache.org/viewvc?rev=643964&view=rev
Log:
2008-04-02  Farid Zaripov  <[EMAIL PROTECTED]>

        STDCXX-799
        * include/rw/_traits.h: Don't use gcc string builtins on icc.

Modified:
    stdcxx/trunk/include/rw/_traits.h

Modified: stdcxx/trunk/include/rw/_traits.h
URL: 
http://svn.apache.org/viewvc/stdcxx/trunk/include/rw/_traits.h?rev=643964&r1=643963&r2=643964&view=diff
==============================================================================
--- stdcxx/trunk/include/rw/_traits.h (original)
+++ stdcxx/trunk/include/rw/_traits.h Wed Apr  2 09:35:26 2008
@@ -85,7 +85,7 @@
 #  define _RWSTD_WCSLEN    _RW::__rw_wcslen
 #else   // if !defined (_RWSTDDEBUG) && !defined (_RWSTD_EDG_ECCP)
-# if 4 <= __GNUG__
+#  if 4 <= __GNUG__ && !defined (__INTEL_COMPILER)
      // use gcc 4.x intrinsic functions
 #    define _RWSTD_MEMCPY    __builtin_memcpy
 #    define _RWSTD_MEMCMP    __builtin_memcmp




Reply via email to