-
Notifications
You must be signed in to change notification settings - Fork 33
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
Formatter style #72
Formatter style #72
Conversation
Thats interesting. The formatting changes the order of '#include', which results in the definition of 'snprintf' with '_snprintf' on windows systems. This is not allowed anymore and the definition can simply be removed: https://stackoverflow.com/questions/27754492/vs-2015-compiling-cocos2d-x-3-3-error-fatal-error-c1189-error-macro-definiti |
"passing 'locint *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]"
Clang Robot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
I will make a different PR with all formatted files |
Hi,
i would like to add a formatter style for 'clang-format' (usable in command line, vscode, emacs, vim, etc..) to unify our code format. The current style is the llvm-style with a different macro indentation.
The PR includes:
I prefer the latter style, but lets discuss it.