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
When building for QNX (which has a strict C++ library), the build is broken. The problem is that a couple of headers are included using the "#include <c...>" style, but the symbols are used in the global (i.e. not std::) namespace.
Compiler errors are:
../../third_party/leveldatabase/src/include/leveldb/env.h:235:41: error: 'va_list' has not been declared
and
../../third_party/leveldatabase/src/util/arena.h:21:9: error: expected ';' at end of member declaration
../../third_party/leveldatabase/src/util/arena.h:21:25: error: expected ')' before 'bytes'
../../third_party/leveldatabase/src/util/arena.h:24:9: error: expected ';' at end of member declaration
../../third_party/leveldatabase/src/util/arena.h:24:32: error: expected ')' before 'bytes'
../../third_party/leveldatabase/src/util/arena.h:29:3: error: 'size_t' does not name a type
../../third_party/leveldatabase/src/util/arena.h:34:9: error: expected ';' at end of member declaration
../../third_party/leveldatabase/src/util/arena.h:34:33: error: expected ')' before 'bytes'
../../third_party/leveldatabase/src/util/arena.h:35:9: error: expected ';' at end of member declaration
../../third_party/leveldatabase/src/util/arena.h:35:33: error: expected ')' before 'block_bytes'
../../third_party/leveldatabase/src/util/arena.h:39:3: error: 'size_t' does not name a type
../../third_party/leveldatabase/src/util/arena.h:45:3: error: 'size_t' does not name a type
../../third_party/leveldatabase/src/util/arena.h:52:30: error: 'leveldb::Arena::Allocate' declared as an 'inline' variable
../../third_party/leveldatabase/src/util/arena.h:52:30: error: 'char* leveldb::Arena::Allocate' is not a static member of 'class leveldb::Arena'
../../third_party/leveldatabase/src/util/arena.h:52:30: error: 'size_t' was not declared in this scope
../../third_party/leveldatabase/src/util/arena.h:52:44: error: expected ',' or ';' before '{' token
../../third_party/leveldatabase/src/util/arena.cc:68:1: error: expected '}' at end of input
The text was updated successfully, but these errors were encountered:
Original issue 212 created by efidler@blackberry.com on 2013-10-28T22:17:03.000Z:
When building for QNX (which has a strict C++ library), the build is broken. The problem is that a couple of headers are included using the "#include <c...>" style, but the symbols are used in the global (i.e. not std::) namespace.
Compiler errors are:
../../third_party/leveldatabase/src/include/leveldb/env.h:235:41: error: 'va_list' has not been declared
and
../../third_party/leveldatabase/src/util/arena.h:21:9: error: expected ';' at end of member declaration
../../third_party/leveldatabase/src/util/arena.h:21:25: error: expected ')' before 'bytes'
../../third_party/leveldatabase/src/util/arena.h:24:9: error: expected ';' at end of member declaration
../../third_party/leveldatabase/src/util/arena.h:24:32: error: expected ')' before 'bytes'
../../third_party/leveldatabase/src/util/arena.h:29:3: error: 'size_t' does not name a type
../../third_party/leveldatabase/src/util/arena.h:34:9: error: expected ';' at end of member declaration
../../third_party/leveldatabase/src/util/arena.h:34:33: error: expected ')' before 'bytes'
../../third_party/leveldatabase/src/util/arena.h:35:9: error: expected ';' at end of member declaration
../../third_party/leveldatabase/src/util/arena.h:35:33: error: expected ')' before 'block_bytes'
../../third_party/leveldatabase/src/util/arena.h:39:3: error: 'size_t' does not name a type
../../third_party/leveldatabase/src/util/arena.h:45:3: error: 'size_t' does not name a type
../../third_party/leveldatabase/src/util/arena.h:52:30: error: 'leveldb::Arena::Allocate' declared as an 'inline' variable
../../third_party/leveldatabase/src/util/arena.h:52:30: error: 'char* leveldb::Arena::Allocate' is not a static member of 'class leveldb::Arena'
../../third_party/leveldatabase/src/util/arena.h:52:30: error: 'size_t' was not declared in this scope
../../third_party/leveldatabase/src/util/arena.h:52:44: error: expected ',' or ';' before '{' token
../../third_party/leveldatabase/src/util/arena.cc:68:1: error: expected '}' at end of input
The text was updated successfully, but these errors were encountered: