-
Notifications
You must be signed in to change notification settings - Fork 312
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
Add S2_USE_SYSTEM_INCLUDES cmake options to avoid s2 compile time warnings… #300
Conversation
What warnings are you seeing? Maybe we can just fix them. |
I think you're fixing part of them in update from Google PR. But in general I don't think it's convenient for us as users to create PR for every warning (especially for msvc, array[0], undef, etc): Please check commit |
How do I see the warnings? Can you paste the output of what you see without |
You can see what it cause: Zero sized array define windows related macros before undef they not cast to void* in memset trivial struct A lot of int/size_t
I don't have windows local, so I need run it in our CI. And we don't compile s2 with warnings, so issue with werror fails because of s2, commonly depends on which headers I include. |
In general It's not really difficult to me have such patch local. I just thought it can be useful for other users. If you think it's really unnecessary (why?) I can close it. If you want fix warnings, I think better to add it to S2 tests and CI |
abseil-cpp does it, so that's good enough for me. Can you make it an option? |
Ok! |
@jmr Done |
… from s2 headers