You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So that when users import google-benchmark, the headers are included as "system headers", instead of regular headers.
If this is not done, compilers will throw warnings at google-benchmark code, which users have no way to act upon. Users should be able to choose a highly restrictive set of warnings without having to fix them in google-benchmark.
Note that this pattern is already applied in the googletest repo.
The text was updated successfully, but these errors were encountered:
Yes that bazel issue is about cc_import but the workaround for that and with the cc_library they used includes instead of strip_include_prefix. So, I found it a good starting point.
So that when users import google-benchmark, the headers are included as "system headers", instead of regular headers.
If this is not done, compilers will throw warnings at google-benchmark code, which users have no way to act upon. Users should be able to choose a highly restrictive set of warnings without having to fix them in google-benchmark.
Note that this pattern is already applied in the googletest repo.
The text was updated successfully, but these errors were encountered: