-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Fix header file guards and replace reserved identifiers #531
Conversation
Use macro names as suggested by the Google C++ Style Guide (https://google.github.io/styleguide/cppguide.html#The__define_Guard). Signed-off-by: Stefan Weil <sw@weilnetz.de>
Some guards were missing, others were not the first statement. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This fixes a compiler warning from clang: ccutil/platform.h:88:13: warning: macro name is a reserved identifier [-Wreserved-id-macro] #define _TESS_FILE_BASENAME_ \ Signed-off-by: Stefan Weil <sw@weilnetz.de>
This also fixes issue #96. |
What about moving to |
https://google.github.io/styleguide/cppguide.html
|
Ah,ok. No objections in this case. |
|
But less to write :) |
True. |
No description provided.