Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

QT5.12 build error #44

Open
gleke opened this issue Sep 22, 2019 · 1 comment
Open

QT5.12 build error #44

gleke opened this issue Sep 22, 2019 · 1 comment

Comments

@gleke
Copy link

gleke commented Sep 22, 2019

src\qredisclient\responseparser.cpp:80:45: error: invalid conversion from 'void* ()(const redisReadTask, int)' to 'void* ()(const redisReadTask, size_t) {aka void* ()(const redisReadTask, long long unsigned int)}' [-fpermissive]
RedisClient::ResponseParser::freeObject};
^
src\qredisclient\responseparser.cpp:80:45: error: invalid conversion from 'void* ()(const redisReadTask)' to 'void* ()(const redisReadTask, double, char*, size_t) {aka void* ()(const redisReadTask, double, char*, long long unsigned int)}' [-fpermissive]
src\qredisclient\responseparser.cpp:80:45: error: invalid conversion from 'void ()(void)' to 'void* ()(const redisReadTask)' [-fpermissive]
src\qredisclient\responseparser.cpp:80:45: warning: missing initializer for member 'redisReplyObjectFunctions::createBool' [-Wmissing-field-initializers]
src\qredisclient\responseparser.cpp:80:45: warning: missing initializer for member 'redisReplyObjectFunctions::freeObject' [-Wmissing-field-initializers]
mingw32-make[1]: *** [Makefile.Debug:1346: obj/responseparser.o] Error 1
mingw32-make[1]: *** Waiting for unfinished jobs....
mingw32-make[1]: Leaving directory 'C:/qredisclient'
mingw32-make: *** [Makefile:38: debug] Error 2
20:26:43: 进程"D:\Qt\Qt5.12.5\Tools\mingw730_64\bin\mingw32-make.exe"退出,退出代码 2 。
Error while building/deploying project qredisclient (kit: Desktop Qt 5.12.5 MinGW 64-bit)
When executing step "Make"

@caixinyuan
Copy link

src\qredisclient\responseparser.cpp:80:45: error: invalid conversion from 'void* ()(const redisReadTask, int)' to 'void* ()(const redisReadTask, size_t) {aka void* ()(const redisReadTask, long long unsigned int)}' [-fpermissive]
RedisClient::ResponseParser::freeObject};
^
src\qredisclient\responseparser.cpp:80:45: error: invalid conversion from 'void* ()(const redisReadTask)' to 'void* ()(const redisReadTask, double, char*, size_t) {aka void* ()(const redisReadTask, double, char*, long long unsigned int)}' [-fpermissive]
src\qredisclient\responseparser.cpp:80:45: error: invalid conversion from 'void ()(void)' to 'void* ()(const redisReadTask)' [-fpermissive]
src\qredisclient\responseparser.cpp:80:45: warning: missing initializer for member 'redisReplyObjectFunctions::createBool' [-Wmissing-field-initializers]
src\qredisclient\responseparser.cpp:80:45: warning: missing initializer for member 'redisReplyObjectFunctions::freeObject' [-Wmissing-field-initializers]
mingw32-make[1]: *** [Makefile.Debug:1346: obj/responseparser.o] Error 1
mingw32-make[1]: *** Waiting for unfinished jobs....
mingw32-make[1]: Leaving directory 'C:/qredisclient'
mingw32-make: *** [Makefile:38: debug] Error 2
20:26:43: 进程"D:\Qt\Qt5.12.5\Tools\mingw730_64\bin\mingw32-make.exe"退出,退出代码 2 。
Error while building/deploying project qredisclient (kit: Desktop Qt 5.12.5 MinGW 64-bit)
When executing step "Make"

How did you solve it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants