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
It seems that there is a missing include with g++-4.7:
$ make CXX=g++-4.7
g++-4.7 -g -Wall -Werror -I. -I./include -std=gnu++11 -DROCKSDB_PLATFORM_POSIX -DOS_LINUX -fno-builtin-memcmp -DROCKSDB_FALLOCATE_PRESENT -DGFLAGS -DZLIB -DBZIP2 -DHAVE_JEMALLOC -O2 -fno-omit-frame-pointer -momit-leaf-frame-pointer -Woverloaded-virtual -c db/compaction.cc -o db/compaction.o
In file included from ./db/compaction.h:11:0,
from db/compaction.cc:10:
./db/version_set.h:437:3: error: 'atomic' in namespace 'std' does not name a type
./db/version_set.h: In member function 'uint64_t rocksdb::VersionSet::LastSequence() const':
./db/version_set.h:333:12: error: 'last_sequence_' was not declared in this scope
./db/version_set.h:333:32: error: 'memory_order_acquire' is not a member of 'std'
./db/version_set.h: In member function 'void rocksdb::VersionSet::SetLastSequence(uint64_t)':
./db/version_set.h:338:5: error: 'last_sequence_' was not declared in this scope
./db/version_set.h:339:29: error: 'memory_order_release' is not a member of 'std'
make: *** [db/compaction.o] Error 1
The text was updated successfully, but these errors were encountered:
It seems that there is a missing include with g++-4.7:
The text was updated successfully, but these errors were encountered: