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

easylogger和fal的宏定义冲突 #56

Closed
void0h opened this issue Sep 12, 2019 · 1 comment
Closed

easylogger和fal的宏定义冲突 #56

void0h opened this issue Sep 12, 2019 · 1 comment

Comments

@void0h
Copy link

void0h commented Sep 12, 2019

packages\EasyLogger-v2.0.0\inc\elog.h(209): warning: #47-D: incompatible redefinition of macro "log_e" (declared at line 98 of "packages\fal-latest\inc\fal_def.h")

fal_def.h:
/* info level log */
#ifdef log_i
#undef log_i
#endif
#define log_i(...) FAL_PRINTF("\033[32;22m[I/FAL] ");

在easylogger中是使用log_x的宏,但是fal中也是使用log_x,虽然是不同的东西,但是看到作者都是你,所以提一下。

@armink
Copy link
Owner

armink commented Sep 12, 2019

这个当时就是为了兼容 elog ,用了 elog 就不用定义这些宏了,不过得手工改下 .h

@armink armink closed this as completed Oct 24, 2019
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