[MDEV-10015] OQGraph failed to compile Created: 2016-05-02  Updated: 2016-05-03  Resolved: 2016-05-03

Status: Closed
Project: MariaDB Server
Component/s: Compiling, Platform Windows, Storage Engine - OQGRAPH
Affects Version/s: 10.1.13
Fix Version/s: 10.1.14

Type: Bug Priority: Minor
Reporter: Prodigy Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: buildlog
Environment:

Windows 10 Professional 64 Bit, Visual Studio 2015 Update 2, Boost 1.60


Attachments: Text File oqgraph.log    

 Description   

OQGraph will failed to compile with these most important details :

32>C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\ha_oqgraph.cc(66): error C2010: '.': unexpected in macro formal parameter list
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(261): error C3646: 'type': unknown override specifier (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(261): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(267): error C3646: 'type': unknown override specifier (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(267): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(273): error C3646: 'type': unknown override specifier (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(273): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(261): error C3646: 'type': unknown override specifier (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\graphcore.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(261): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\graphcore.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(267): error C3646: 'type': unknown override specifier (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\graphcore.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(267): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\graphcore.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(273): error C3646: 'type': unknown override specifier (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\graphcore.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(273): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\graphcore.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(261): error C3646: 'type': unknown override specifier (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\graphcore-graph.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(261): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\graphcore-graph.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(267): error C3646: 'type': unknown override specifier (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\graphcore-graph.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(267): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\graphcore-graph.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(273): error C3646: 'type': unknown override specifier (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\graphcore-graph.cc)
32>c:\users\prodigy\documents\works\compiling\mariadb-10.1.13\storage\oqgraph\oqgraph_shim.h(273): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file C:\Users\Prodigy\Documents\Works\Compiling\mariadb-10.1.13\storage\oqgraph\graphcore-graph.cc)



 Comments   
Comment by Prodigy [ 2016-05-02 ]

Managed to compiling it without boost related error by using boost 1.59 but stopped at ./storage/oqgrapgh/ha_oqgraph.cc at line 66, which is "#define DBUG_PRINT(x ...)", deleting "..." will let me to compile oqgraph without any error, i don't know if it's a proper fix, any core team wants to comments?.

Comment by Vladislav Vaintroub [ 2016-05-03 ]

Fixed the DBUG_PRINT thing

  • the proper fix is changing #define DBUG_PRINT(x ...) to #define DBUG_PRINT(x,y)

Boost 1.60 compilation problems is tracked by MDEV-9479

Generated at Thu Feb 08 07:39:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.