Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4930

CONNECT storage engine does not compile on OSX 10.8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.4
    • Fix Version/s: 10.0.5
    • Component/s: None
    • Labels:
      None

      Description

      Reported by a user (he has problems creating a JIRA account currently, so he wrote to me directly).

      Problem: MariaDB 10.0.4 does not compile on Mac OS X 10.8

      Error message:

      In file included from /Users/ck/Software/mariadb-10.0.4/sql/item.h:3668:
      /Users/ck/Software/mariadb-10.0.4/sql/item_xmlfunc.h:25:9: warning:
      unknown pragma
      ignored [-Wunknown-pragmas]
      #pragma interface /* gcc class implementation */
      ^
      In file included from
      /Users/ck/Software/mariadb-10.0.4/storage/connect/ha_connect.cc:129:
      In file included from
      /Users/ck/Software/mariadb-10.0.4/storage/connect/tabxcl.h:4:
      /Users/ck/Software/mariadb-10.0.4/storage/connect/tabutil.h:73:41:
      error: cannot
      initialize return object of type 'PSZ' (aka 'char *') with an
      rvalue of type
      'const char *'
      virtual PSZ GetServer(void)

      {return (Tdbp) ? Tdbp->GetServer() : "?";}

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      1 warning and 1 error generated.
      make[2]: *** [storage/connect/CMakeFiles/connect.dir/ha_connect.cc.o]
      Error 1
      make[1]: *** [storage/connect/CMakeFiles/connect.dir/all] Error 2

        Attachments

          Activity

            People

            Assignee:
            bertrandop Olivier Bertrand
            Reporter:
            wlad Vladislav Vaintroub
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: