Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log.cpp 报错 #16

Closed
ganggangliu opened this issue May 24, 2023 · 1 comment
Closed

log.cpp 报错 #16

ganggangliu opened this issue May 24, 2023 · 1 comment

Comments

@ganggangliu
Copy link

static void signal_handler(const char *data, size_t size) {}
函数前面为int,gcc9.3不能编译通过
改为size_t,编译通过

@lkpworkspace
Copy link
Owner

主要是使用glog版本不一样,glog-0.6的版本回调函数参数是size_t, ubuntu自带的glog版本使用的是int

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

No branches or pull requests

2 participants