[MDEV-16395] Connect Storage Engine build issue on OpenBSD Created: 2018-06-04  Updated: 2018-06-05  Resolved: 2018-06-05

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Connect
Affects Version/s: 10.0.35
Fix Version/s: 10.0.36, 10.0.37

Type: Bug Priority: Major
Reporter: Brad Smith Assignee: Olivier Bertrand
Resolution: Fixed Votes: 0
Labels: None
Environment:

OpenBSD



 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.



 Comments   
Comment by Olivier Bertrand [ 2018-06-05 ]

Was already fixed but I am not sure from which versions.

Generated at Thu Feb 08 08:28:36 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.