MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Davi Arnaut Date:November 20 2010 2:29pm
Subject:bzr commit into mysql-5.1-bugteam branch (davi:3513) Bug#57994
View as plain text  
# At a local mysql-5.1-bugteam repository of davi

 3513 Davi Arnaut	2010-11-20
      Bug#57994: Compiler flag change build error : my_redel.c
      
      Although ICC identifies itself as GCC, even in version numbers,
      it does not support the stpcpy built-in.
     @ include/m_string.h
        Work around ICC. Hacks...

    modified:
      include/m_string.h
=== modified file 'include/m_string.h'
--- a/include/m_string.h	2010-11-17 09:41:29 +0000
+++ b/include/m_string.h	2010-11-20 14:29:51 +0000
@@ -73,7 +73,7 @@ extern "C" {
 extern void *(*my_str_malloc)(size_t);
 extern void (*my_str_free)(void *);
 
-#if defined(HAVE_STPCPY) && MY_GNUC_PREREQ(3, 4)
+#if defined(HAVE_STPCPY) && MY_GNUC_PREREQ(3, 4) && !defined(__INTEL_COMPILER)
 #define strmov(A,B) __builtin_stpcpy((A),(B))
 #elif defined(HAVE_STPCPY)
 #define strmov(A,B) stpcpy((A),(B))


Attachment: [text/bzr-bundle] bzr/davi.arnaut@oracle.com-20101120142951-l0f3bxmcwibcplxq.bundle
Thread
bzr commit into mysql-5.1-bugteam branch (davi:3513) Bug#57994Davi Arnaut20 Nov
Re: bzr commit into mysql-5.1-bugteam branch (davi:3513) Bug#57994Sergei Golubchik20 Nov
  • Re: bzr commit into mysql-5.1-bugteam branch (davi:3513) Bug#57994Davi Arnaut20 Nov
    • Re: bzr commit into mysql-5.1-bugteam branch (davi:3513) Bug#57994Sergei Golubchik20 Nov