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

Errors building CONNECT from 10.1 on OS X

    XMLWordPrintable

Details

    Description

      [ 65%] Building CXX object storage/connect/CMakeFiles/connect.dir/ha_connect.cc.o
      In file included from /Users/kolbe/Devel/git/maria/server/storage/connect/ha_connect.cc:111:
      In file included from /Users/kolbe/Devel/git/maria/server/sql/sql_class.h:478:
      In file included from /Users/kolbe/Devel/git/maria/server/sql/sql_lex.h:26:
      In file included from /Users/kolbe/Devel/git/maria/server/sql/item.h:4040:
      /Users/kolbe/Devel/git/maria/server/sql/item_cmpfunc.h:769:8: warning: 'Item_func_case_abbreviation2::fix_length_and_dec' hides overloaded virtual function [-Woverloaded-virtual]
        void fix_length_and_dec(Item **args);
             ^
      /Users/kolbe/Devel/git/maria/server/sql/item.h:3370:16: note: hidden overloaded virtual function 'Item_result_field::fix_length_and_dec' declared here: different number of parameters (0 vs 1)
        virtual void fix_length_and_dec()=0;
                     ^
      In file included from /Users/kolbe/Devel/git/maria/server/storage/connect/ha_connect.cc:111:
      In file included from /Users/kolbe/Devel/git/maria/server/sql/sql_class.h:478:
      In file included from /Users/kolbe/Devel/git/maria/server/sql/sql_lex.h:26:
      In file included from /Users/kolbe/Devel/git/maria/server/sql/item.h:4040:
      /Users/kolbe/Devel/git/maria/server/sql/item_cmpfunc.h:770:8: warning: 'Item_func_case_abbreviation2::decimal_precision' hides overloaded virtual function [-Woverloaded-virtual]
        uint decimal_precision(Item **args) const;
             ^
      /Users/kolbe/Devel/git/maria/server/sql/item.h:1112:16: note: hidden overloaded virtual function 'Item::decimal_precision' declared here: different number of parameters (0 vs 1)
        virtual uint decimal_precision() const;
                     ^
      In file included from /Users/kolbe/Devel/git/maria/server/storage/connect/ha_connect.cc:121:
      /Users/kolbe/Devel/git/maria/server/sql/sql_partition.h:20:9: warning: unknown pragma ignored [-Wunknown-pragmas]
      #pragma interface                               /* gcc class implementation */
              ^
      In file included from /Users/kolbe/Devel/git/maria/server/storage/connect/ha_connect.cc:137:
      In file included from /Users/kolbe/Devel/git/maria/server/storage/connect/filamdbf.h:12:
      In file included from /Users/kolbe/Devel/git/maria/server/storage/connect/filamfix.h:12:
      In file included from /Users/kolbe/Devel/git/maria/server/storage/connect/filamtxt.h:13:
      /Users/kolbe/Devel/git/maria/server/storage/connect/array.h:70:17: warning: 'ARRAY::GetIntValue' hides overloaded virtual function [-Woverloaded-virtual]
                int   GetIntValue(int n);
                      ^
      /Users/kolbe/Devel/git/maria/server/storage/connect/xobject.h:53:18: note: hidden overloaded virtual function 'XOBJECT::GetIntValue' declared here: different number of parameters (0 vs 1)
        virtual int    GetIntValue(void);
                       ^
      In file included from /Users/kolbe/Devel/git/maria/server/storage/connect/ha_connect.cc:137:
      In file included from /Users/kolbe/Devel/git/maria/server/storage/connect/filamdbf.h:13:
      /Users/kolbe/Devel/git/maria/server/storage/connect/filamap.h:107:42: error: cast from pointer to smaller type 'int' loses information
        virtual int   GetNextPos(void) {return (int)Fpos + Nrec;}
                                               ^~~~~~~~~
      In file included from /Users/kolbe/Devel/git/maria/server/storage/connect/ha_connect.cc:138:
      In file included from /Users/kolbe/Devel/git/maria/server/storage/connect/tabxcl.h:4:
      /Users/kolbe/Devel/git/maria/server/storage/connect/tabutil.h:117:16: warning: 'PRXCOL::Init' hides overloaded virtual function [-Woverloaded-virtual]
                bool Init(PGLOBAL g, PTDBASE tp = NULL);
                     ^
      /Users/kolbe/Devel/git/maria/server/storage/connect/xobject.h:60:18: note: hidden overloaded virtual function 'XOBJECT::Init' declared here: different number of parameters (1 vs 2)
        virtual bool   Init(PGLOBAL) {return false;}
                       ^
      5 warnings 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
      make: *** [all] Error 2

      Attachments

        Issue Links

          Activity

            People

              bertrandop Olivier Bertrand
              kolbe Kolbe Kegel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.