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
Builds against gflags 2.1.x built with default namespace may encounter errors like:
In file included from /home/andrewkr/local/rocksdb/tools/trace_analyzer_tool.cc:49:0:
/home/andrewkr/local/rocksdb/util/gflags_compat.h:11:26: error: ‘google’ has not been declared
#define GFLAGS_NAMESPACE google
In gflags 2.1, the namespace changed from google to gflags. Meanwhile, it wasn't until 2.2 that the macro #define GFLAGS_NAMESPACE ... was introduced to a header file. So for 2.1 versions, this logic improperly guesses the namespace:
Builds against gflags 2.1.x built with default namespace may encounter errors like:
In gflags 2.1, the namespace changed from google to gflags. Meanwhile, it wasn't until 2.2 that the macro
#define GFLAGS_NAMESPACE ...
was introduced to a header file. So for 2.1 versions, this logic improperly guesses the namespace:rocksdb/util/gflags_compat.h
Lines 8 to 12 in 57096ab
The text was updated successfully, but these errors were encountered: