Build on linux fails with the --use-cpu-profiler option. Errors include:
src/third_party/gperftools-2.2/src/base/logging.h:195:19: note: in expansion of macro 'INFO'
enum LogSeverityUnknown macro: {INFO = -1, WARNING = -2, ERROR = -3, FATAL = -4};
^
In file included from src/third_party/s2/util/math/vector3-inl.h:39:0,
from src/third_party/s2/s2.h:26,
from src/mongo/db/geo/s2.h:40,
from src/mongo/db/geo/big_polygon.h:33,
from src/mongo/db/geo/shapes.h:37,
from src/mongo/db/query/expression_index.h:34,
from src/mongo/db/query/expression_index.cpp:29:
src/third_party/gperftools-2.2/src/base/logging.h:195:66: error: expected declaration before '}' token
enum LogSeverity;
^
The issue starts on commit
[f725d04705a2019ab1949ced290158397d9365b0]
SERVER-19661Give vendored include paths higher priority
- is related to
-
SERVER-19661 Build fails: error: expected expression
- Closed