-
Notifications
You must be signed in to change notification settings - Fork 65
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
Conflict with some macros #44
Comments
Is there just |
Anyway, all-upper names without prefix or postfix are easy to meet conflict. I think you can change their name style |
|
|
Coming from https://github.com/Xrysnow/LuaSTG-x (@Xrysnow 's project which uses cLaTeXMath) and also encountered build issue because of DEBUG:
I renamed Box::DEBUG to Box::enableDebug in atom.h, box.cpp and formula.cpp to make it work. (btw it would probably be easier to maintain if the Box was entirely defined in its own file rather than split across files, unless there's a reason for keeping the declaration in atom.h) @Xrysnow how did you actually build your project? Did you find a workaround that doesn't require changing source files? |
My environment has macro
UNICODE
andDEBUG
defiened and they conflict with some names in the project. I think it's better to rename them to avoid this.The text was updated successfully, but these errors were encountered: