src/gtest.cc:373:13: warning: no previous extern declaration for non-static variable 'g_executable_path' [-Wmissing-variable-declarations]std::string g_executable_path; ^--
---
You received this message because you are subscribed to the Google Groups "Google C++ Testing Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to googletestframe...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The warning is misleading, you probably want to make the variable static. (And the warning is useful because reducing visibility helps the compiler.)Sorry, I fail at reply-to-all...
--
Is that the only warning you are getting from Clang on gtest, or are there more? In a similar vein, what warnings are you getting on gmock?
--
---
You received this message because you are subscribed to the Google Groups "Google C++ Testing Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to googletestframe...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--