We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since benchmark/macros.h defines CHECK_XXX, it prevents to use both glog/logging.h and benchmark/benchmark.h in the same file.
benchmark/macros.h
CHECK_XXX
glog/logging.h
benchmark/benchmark.h
The text was updated successfully, but these errors were encountered:
I'm trying to think what the right solution is here.
Maybe benchmark should explicitly depend on glog and use the macros from there directly.
Another option is to check if they're defined before defining them.
I think I prefer the first, but I'm open to other thoughts!
Sorry, something went wrong.
Is it even necessary to export the CHECK_XXX macros at all in the header file? These are being used internally rather than in benchmark.h.
benchmark.h
They are used in benchmark_test.cc which doesn't (yet!) depend on googletest. Maybe it should ;)
Remove CHECK_* from public API.
a3b5e44
CHECK_* are now private and used internally in the library. The test uses have been replaced with asserts. Fixes #62.
dmah42
Successfully merging a pull request may close this issue.
Since
benchmark/macros.h
definesCHECK_XXX
, it prevents to use bothglog/logging.h
andbenchmark/benchmark.h
in the same file.The text was updated successfully, but these errors were encountered: