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

部分日志宏与wireshark重定义 #544

Open
SuperBigYB opened this issue May 15, 2024 · 1 comment
Open

部分日志宏与wireshark重定义 #544

SuperBigYB opened this issue May 15, 2024 · 1 comment

Comments

@SuperBigYB
Copy link
Contributor

我在我的项目中使用了libhv和libwireshark-dev, 发现编译时LOG_LEVEL_DEBUG等宏命名冲突, 详见https://github.com/wireshark/wireshark/blob/master/include/ws_log_defs.h第62行和https://github.com/ithewei/libhv/blob/master/base/hlog.h第50行, 建议libhv日志宏加上前缀"HV_".

@ithewei
Copy link
Owner

ithewei commented May 15, 2024

因为已经有很多项目在用了,现在不太好动头文件接口,你可以自己fork个维护,或者不要同时包含两者的日志头文件

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