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

Connect Storage Engine build issue on OpenBSD

    XMLWordPrintable

    Details

      Description

      FAILED: storage/connect/CMakeFiles/connect.dir/tabjson.cpp.o 
      /home/ports/pobj/mariadb-10.0.35/bin/c++  -DFORCE_INIT_OF_VARS -DGZ_SUPPORT -DHAVE_CONFIG_H -DHUGE_SUPPORT -DLINUX -DMARIADB -DMYSQL_DYNAMIC_PLUGIN -DNOCRYPT -DUBUNTU -DUNIX -DVCT_SUPPORT -DXMAP -DZIP_SUPPORT -Dconnect_EXPORTS -Iinclude -I/home/ports/pobj/mariadb-10.0.35/mariadb-10.0.35/include -I/home/ports/pobj/mariadb-10.0.35/mariadb-10.0.35/sql -Ipcre -I/home/ports/pobj/mariadb-10.0.35/mariadb-10.0.35/pcre -O2 -pipe -fno-exceptions -fno-rtti -fpermissive -fexceptions -fPIC  -DNDEBUG -DDBUG_OFF -fPIC   -Wall -Wmissing-declarations -Wno-write-strings -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-parentheses -MD -MT storage/connect/CMakeFiles/connect.dir/tabjson.cpp.o -MF storage/connect/CMakeFiles/connect.dir/tabjson.cpp.o.d -o storage/connect/CMakeFiles/connect.dir/tabjson.cpp.o -c /home/ports/pobj/mariadb-10.0.35/mariadb-10.0.35/storage/connect/tabjson.cpp
      /home/ports/pobj/mariadb-10.0.35/mariadb-10.0.35/storage/connect/tabjson.cpp:198:10: error: cannot initialize return object of type 'int' with an rvalue of type 'nullptr_t'
                      return NULL;
                             ^~~~
      /usr/include/sys/_null.h:12:14: note: expanded from macro 'NULL'
      #define NULL    nullptr
                      ^~~~~~~
      /home/ports/pobj/mariadb-10.0.35/mariadb-10.0.35/storage/connect/tabjson.cpp:246:11: error: cannot initialize return object of type 'int' with an rvalue of type 'nullptr_t'
                              return NULL;
                                     ^~~~
      /usr/include/sys/_null.h:12:14: note: expanded from macro 'NULL'
      #define NULL    nullptr
                      ^~~~~~~
      /home/ports/pobj/mariadb-10.0.35/mariadb-10.0.35/storage/connect/tabjson.cpp:253:12: error: cannot initialize return object of type 'int' with an rvalue of type 'nullptr_t'
                                      return NULL;
                                             ^~~~
      /usr/include/sys/_null.h:12:14: note: expanded from macro 'NULL'
      #define NULL    nullptr
                      ^~~~~~~
      /home/ports/pobj/mariadb-10.0.35/mariadb-10.0.35/storage/connect/tabjson.cpp:272:12: error: cannot initialize return object of type 'int' with an rvalue of type 'nullptr_t'
                                      return NULL;
                                             ^~~~
      /usr/include/sys/_null.h:12:14: note: expanded from macro 'NULL'
      #define NULL    nullptr
                      ^~~~~~~
      /home/ports/pobj/mariadb-10.0.35/mariadb-10.0.35/storage/connect/tabjson.cpp:279:12: error: cannot initialize return object of type 'int' with an rvalue of type 'nullptr_t'
                                      return NULL;
                                             ^~~~
      /usr/include/sys/_null.h:12:14: note: expanded from macro 'NULL'
      #define NULL    nullptr
                      ^~~~~~~
      /home/ports/pobj/mariadb-10.0.35/mariadb-10.0.35/storage/connect/tabjson.cpp:288:12: error: cannot initialize return object of type 'int' with an rvalue of type 'nullptr_t'
                                      return NULL;
                                             ^~~~
      /usr/include/sys/_null.h:12:14: note: expanded from macro 'NULL'
      #define NULL    nullptr
                      ^~~~~~~
      /home/ports/pobj/mariadb-10.0.35/mariadb-10.0.35/storage/connect/tabjson.cpp:307:11: error: cannot initialize return object of type 'int' with an rvalue of type 'nullptr_t'
                              return NULL;
                                     ^~~~
      /usr/include/sys/_null.h:12:14: note: expanded from macro 'NULL'
      #define NULL    nullptr
                      ^~~~~~~
      7 errors generated.
      

        Attachments

          Activity

            People

            Assignee:
            bertrandop Olivier Bertrand
            Reporter:
            brad0 Brad Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: