DC-Build-Header: rocksdb 4.5.1-2 / 2017-07-06 17:02:40 +0000 DC-Task: type:rebuild-binarch-only source:rocksdb version:4.5.1-2 chroot:unstable esttime:1509 logfile:/tmp/rocksdb_4.5.1-2_unstable_clang3.9.log modes:clang:binarch-only DC-Sbuild-call: su user42 -c 'sbuild -n --arch-any --apt-update -d unstable -v --chroot-setup-commands=/tmp/clang rocksdb_4.5.1-2' sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on ip-172-31-38-0.eu-central-1.compute.internal +==============================================================================+ | rocksdb 4.5.1-2 (amd64) Thu, 06 Jul 2017 17:02:40 +0000 | +==============================================================================+ Package: rocksdb Version: 4.5.1-2 Source Version: 4.5.1-2 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/unstable-amd64-sbuild-28fec5a4-f0ba-4a98-abf7-878fc473cc56' with '<>' +------------------------------------------------------------------------------+ | Chroot Setup Commands | +------------------------------------------------------------------------------+ /tmp/clang ---------- + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=3.9 + echo 'Install of clang-3.9' Install of clang-3.9 + apt-get update Hit:1 http://127.0.0.1:9999/debian unstable InRelease Get:2 http://127.0.0.1:9999/debian unstable/main Translation-en [5730 kB] Fetched 5730 kB in 1s (3972 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-3.9 Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libbsd0 libclang-common-3.9-dev libclang1-3.9 libedit2 libjsoncpp1 libllvm3.9 libncurses5 libobjc-6-dev libobjc4 Suggested packages: gnustep gnustep-devel clang-3.9-doc Recommended packages: llvm-3.9-dev python libgpm2 The following NEW packages will be installed: clang-3.9 libbsd0 libclang-common-3.9-dev libclang1-3.9 libedit2 libjsoncpp1 libllvm3.9 libncurses5 libobjc-6-dev libobjc4 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 57.7 MB of archives. After this operation, 251 MB of additional disk space will be used. Get:1 http://127.0.0.1:9999/debian unstable/main amd64 libbsd0 amd64 0.8.5-1 [89.6 kB] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 libncurses5 amd64 6.0+20161126-1 [93.4 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 libedit2 amd64 3.1-20170329-1 [85.2 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 libllvm3.9 amd64 1:3.9.1-10 [11.3 MB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 libclang1-3.9 amd64 1:3.9.1-10 [5875 kB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 libobjc4 amd64 7.1.0-9 [51.0 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 libobjc-6-dev amd64 6.4.0-1 [197 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 libclang-common-3.9-dev amd64 1:3.9.1-10 [2573 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 clang-3.9 amd64 1:3.9.1-10 [37.4 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 57.7 MB in 0s (95.8 MB/s) Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9711 files and directories currently installed.) Preparing to unpack .../0-libbsd0_0.8.5-1_amd64.deb ... Unpacking libbsd0:amd64 (0.8.5-1) ... Selecting previously unselected package libncurses5:amd64. Preparing to unpack .../1-libncurses5_6.0+20161126-1_amd64.deb ... Unpacking libncurses5:amd64 (6.0+20161126-1) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../2-libedit2_3.1-20170329-1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20170329-1) ... Selecting previously unselected package libllvm3.9:amd64. Preparing to unpack .../3-libllvm3.9_1%3a3.9.1-10_amd64.deb ... Unpacking libllvm3.9:amd64 (1:3.9.1-10) ... Selecting previously unselected package libclang1-3.9:amd64. Preparing to unpack .../4-libclang1-3.9_1%3a3.9.1-10_amd64.deb ... Unpacking libclang1-3.9:amd64 (1:3.9.1-10) ... Selecting previously unselected package libjsoncpp1:amd64. Preparing to unpack .../5-libjsoncpp1_1.7.4-3_amd64.deb ... Unpacking libjsoncpp1:amd64 (1.7.4-3) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../6-libobjc4_7.1.0-9_amd64.deb ... Unpacking libobjc4:amd64 (7.1.0-9) ... Selecting previously unselected package libobjc-6-dev:amd64. Preparing to unpack .../7-libobjc-6-dev_6.4.0-1_amd64.deb ... Unpacking libobjc-6-dev:amd64 (6.4.0-1) ... Selecting previously unselected package libclang-common-3.9-dev. Preparing to unpack .../8-libclang-common-3.9-dev_1%3a3.9.1-10_amd64.deb ... Unpacking libclang-common-3.9-dev (1:3.9.1-10) ... Selecting previously unselected package clang-3.9. Preparing to unpack .../9-clang-3.9_1%3a3.9.1-10_amd64.deb ... Unpacking clang-3.9 (1:3.9.1-10) ... Setting up libncurses5:amd64 (6.0+20161126-1) ... Setting up libobjc4:amd64 (7.1.0-9) ... Setting up libbsd0:amd64 (0.8.5-1) ... Processing triggers for libc-bin (2.24-12) ... Setting up libobjc-6-dev:amd64 (6.4.0-1) ... Setting up libjsoncpp1:amd64 (1.7.4-3) ... Setting up libedit2:amd64 (3.1-20170329-1) ... Setting up libllvm3.9:amd64 (1:3.9.1-10) ... Setting up libclang-common-3.9-dev (1:3.9.1-10) ... Setting up libclang1-3.9:amd64 (1:3.9.1-10) ... Setting up clang-3.9 (1:3.9.1-10) ... Processing triggers for libc-bin (2.24-12) ... W: --force-yes is deprecated, use one of the options starting with --allow instead. + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9 5 6 7' + cd /usr/bin + for VERSION in $VERSIONS + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-3.9 g++-4.6 + ln -s clang-3.9 gcc-4.6 + ln -s clang-3.9 cpp-4.6 + ln -s clang-3.9 gcc + echo 'gcc-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.7 gcc-4.7 cpp-4.7 gcc + ln -s clang++-3.9 g++-4.7 + ln -s clang-3.9 gcc-4.7 + ln -s clang-3.9 cpp-4.7 + ln -s clang-3.9 gcc + echo 'gcc-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.8 gcc-4.8 cpp-4.8 gcc + ln -s clang++-3.9 g++-4.8 + ln -s clang-3.9 gcc-4.8 + ln -s clang-3.9 cpp-4.8 + ln -s clang-3.9 gcc + echo 'gcc-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.9 gcc-4.9 cpp-4.9 gcc + ln -s clang++-3.9 g++-4.9 + ln -s clang-3.9 gcc-4.9 + ln -s clang-3.9 cpp-4.9 + ln -s clang-3.9 gcc + echo 'gcc-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-5 gcc-5 cpp-5 gcc + ln -s clang++-3.9 g++-5 + ln -s clang-3.9 gcc-5 + ln -s clang-3.9 cpp-5 + ln -s clang-3.9 gcc + echo 'gcc-5 hold' + dpkg --set-selections + echo 'g++-5 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-6 gcc-6 cpp-6 gcc + ln -s clang++-3.9 g++-6 + ln -s clang-3.9 gcc-6 + ln -s clang-3.9 cpp-6 + ln -s clang-3.9 gcc + echo 'gcc-6 hold' + dpkg --set-selections + echo 'g++-6 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-7 gcc-7 cpp-7 gcc + ln -s clang++-3.9 g++-7 + ln -s clang-3.9 gcc-7 + ln -s clang-3.9 cpp-7 + ln -s clang-3.9 gcc + echo 'gcc-7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + cd - /build/rocksdb-pesa3c + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version + grep clang I: Finished running '/tmp/clang'. Finished processing commands. -------------------------------------------------------------------------------- +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Hit:1 http://127.0.0.1:9999/debian unstable InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... Need to get 2076 kB of source archives. Get:1 http://127.0.0.1:9999/debian unstable/main rocksdb 4.5.1-2 (dsc) [2064 B] Get:2 http://127.0.0.1:9999/debian unstable/main rocksdb 4.5.1-2 (tar) [2026 kB] Get:3 http://127.0.0.1:9999/debian unstable/main rocksdb 4.5.1-2 (diff) [47.7 kB] Fetched 2076 kB in 0s (8991 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/rocksdb-pesa3c/rocksdb-4.5.1' with '<>' I: NOTICE: Log filtering will replace 'build/rocksdb-pesa3c' with '<>' +------------------------------------------------------------------------------+ | Install build-essential | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-Y66vqA/apt_archive/sbuild-build-depends-core-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy dpkg-scanpackages: info: Wrote 1 entries to output Packages file. Ign:1 copy:/<>/resolver-Y66vqA/apt_archive ./ InRelease Get:2 copy:/<>/resolver-Y66vqA/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-Y66vqA/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-Y66vqA/apt_archive ./ Sources [349 B] Get:5 copy:/<>/resolver-Y66vqA/apt_archive ./ Packages [431 B] Fetched 1737 B in 0s (0 B/s) Reading package lists... Reading package lists... Install core build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 784 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-Y66vqA/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [784 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 784 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 10178 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (amd64 included in amd64 arm64 ppc64el mips64el ppc64 sparc64) +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 9), g++ (>= 4:4.8), libgflags-dev, libgtest-dev, libsnappy-dev, libbz2-dev, zlib1g-dev Filtered Build-Depends: debhelper (>= 9), g++ (>= 4:4.8), libgflags-dev, libgtest-dev, libsnappy-dev, libbz2-dev, zlib1g-dev dpkg-deb: building package 'sbuild-build-depends-rocksdb-dummy' in '/<>/resolver-Y66vqA/apt_archive/sbuild-build-depends-rocksdb-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-rocksdb-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-Y66vqA/apt_archive ./ InRelease Get:2 copy:/<>/resolver-Y66vqA/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-Y66vqA/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-Y66vqA/apt_archive ./ Sources [530 B] Get:5 copy:/<>/resolver-Y66vqA/apt_archive ./ Packages [608 B] Fetched 2101 B in 0s (0 B/s) Reading package lists... Reading package lists... Install rocksdb build dependencies (apt-based resolver) ------------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base googletest groff-base intltool-debian libarchive-zip-perl libbz2-dev libcroco3 libexpat1 libfile-stripnondeterminism-perl libgflags-dev libgflags2.2 libglib2.0-0 libgtest-dev libicu57 libmagic-mgc libmagic1 libpipeline1 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libreadline7 libsigsegv2 libsnappy-dev libsnappy1v5 libsqlite3-0 libssl1.1 libtimedate-perl libtool libxml2 m4 man-db mime-support po-debconf python python-minimal python2.7 python2.7-minimal readline-common zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc less www-browser libmail-box-perl python-doc python-tk python2.7-doc binfmt-support readline-doc Recommended packages: curl | wget | lynx-cur bzip2-doc libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev xml-core libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base googletest groff-base intltool-debian libarchive-zip-perl libbz2-dev libcroco3 libexpat1 libfile-stripnondeterminism-perl libgflags-dev libgflags2.2 libglib2.0-0 libgtest-dev libicu57 libmagic-mgc libmagic1 libpipeline1 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libreadline7 libsigsegv2 libsnappy-dev libsnappy1v5 libsqlite3-0 libssl1.1 libtimedate-perl libtool libxml2 m4 man-db mime-support po-debconf python python-minimal python2.7 python2.7-minimal readline-common sbuild-build-depends-rocksdb-dummy zlib1g-dev 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. Need to get 26.9 MB of archives. After this operation, 97.6 MB of additional disk space will be used. Get:1 copy:/<>/resolver-Y66vqA/apt_archive ./ sbuild-build-depends-rocksdb-dummy 0.invalid.0 [824 B] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 groff-base amd64 1.22.3-9 [1160 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 bsdmainutils amd64 9.0.12+nmu1 [186 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 libpipeline1 amd64 1.4.1-2 [27.6 kB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 man-db amd64 2.7.6.1-2 [1044 kB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libpython2.7-minimal amd64 2.7.13-2 [389 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 python2.7-minimal amd64 2.7.13-2 [1383 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 python-minimal amd64 2.7.13-2 [40.5 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 mime-support all 3.60 [36.7 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 libexpat1 amd64 2.2.1-3 [85.6 kB] Get:11 http://127.0.0.1:9999/debian unstable/main amd64 readline-common all 7.0-3 [70.4 kB] Get:12 http://127.0.0.1:9999/debian unstable/main amd64 libreadline7 amd64 7.0-3 [151 kB] Get:13 http://127.0.0.1:9999/debian unstable/main amd64 libsqlite3-0 amd64 3.16.2-5 [572 kB] Get:14 http://127.0.0.1:9999/debian unstable/main amd64 libssl1.1 amd64 1.1.0f-3 [1342 kB] Get:15 http://127.0.0.1:9999/debian unstable/main amd64 libpython2.7-stdlib amd64 2.7.13-2 [1895 kB] Get:16 http://127.0.0.1:9999/debian unstable/main amd64 python2.7 amd64 2.7.13-2 [285 kB] Get:17 http://127.0.0.1:9999/debian unstable/main amd64 libpython-stdlib amd64 2.7.13-2 [20.0 kB] Get:18 http://127.0.0.1:9999/debian unstable/main amd64 python amd64 2.7.13-2 [154 kB] Get:19 http://127.0.0.1:9999/debian unstable/main amd64 libmagic-mgc amd64 1:5.30-1 [222 kB] Get:20 http://127.0.0.1:9999/debian unstable/main amd64 libmagic1 amd64 1:5.30-1 [111 kB] Get:21 http://127.0.0.1:9999/debian unstable/main amd64 file amd64 1:5.30-1 [63.9 kB] Get:22 http://127.0.0.1:9999/debian unstable/main amd64 gettext-base amd64 0.19.8.1-2+b1 [122 kB] Get:23 http://127.0.0.1:9999/debian unstable/main amd64 libicu57 amd64 57.1-6 [7701 kB] Get:24 http://127.0.0.1:9999/debian unstable/main amd64 libxml2 amd64 2.9.4+dfsg1-3 [715 kB] Get:25 http://127.0.0.1:9999/debian unstable/main amd64 libsigsegv2 amd64 2.11-1 [29.9 kB] Get:26 http://127.0.0.1:9999/debian unstable/main amd64 m4 amd64 1.4.18-1 [202 kB] Get:27 http://127.0.0.1:9999/debian unstable/main amd64 autoconf all 2.69-10 [338 kB] Get:28 http://127.0.0.1:9999/debian unstable/main amd64 autotools-dev all 20161112.1 [73.4 kB] Get:29 http://127.0.0.1:9999/debian unstable/main amd64 automake all 1:1.15.1-2 [736 kB] Get:30 http://127.0.0.1:9999/debian unstable/main amd64 autopoint all 0.19.8.1-2 [433 kB] Get:31 http://127.0.0.1:9999/debian unstable/main amd64 libtool all 2.4.6-2 [545 kB] Get:32 http://127.0.0.1:9999/debian unstable/main amd64 dh-autoreconf all 14 [15.9 kB] Get:33 http://127.0.0.1:9999/debian unstable/main amd64 libarchive-zip-perl all 1.59-1 [95.5 kB] Get:34 http://127.0.0.1:9999/debian unstable/main amd64 libfile-stripnondeterminism-perl all 0.035-2 [17.0 kB] Get:35 http://127.0.0.1:9999/debian unstable/main amd64 libtimedate-perl all 2.3000-2 [42.2 kB] Get:36 http://127.0.0.1:9999/debian unstable/main amd64 dh-strip-nondeterminism all 0.035-2 [10.7 kB] Get:37 http://127.0.0.1:9999/debian unstable/main amd64 libglib2.0-0 amd64 2.52.3-1 [2742 kB] Get:38 http://127.0.0.1:9999/debian unstable/main amd64 libcroco3 amd64 0.6.12-1 [144 kB] Get:39 http://127.0.0.1:9999/debian unstable/main amd64 gettext amd64 0.19.8.1-2+b1 [1301 kB] Get:40 http://127.0.0.1:9999/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.4 [26.3 kB] Get:41 http://127.0.0.1:9999/debian unstable/main amd64 po-debconf all 1.0.20 [247 kB] Get:42 http://127.0.0.1:9999/debian unstable/main amd64 debhelper all 10.6.2 [968 kB] Get:43 http://127.0.0.1:9999/debian unstable/main amd64 googletest amd64 1.8.0-6 [653 kB] Get:44 http://127.0.0.1:9999/debian unstable/main amd64 libbz2-dev amd64 1.0.6-8.1 [29.4 kB] Get:45 http://127.0.0.1:9999/debian unstable/main amd64 libgflags2.2 amd64 2.2.0-2 [81.9 kB] Get:46 http://127.0.0.1:9999/debian unstable/main amd64 libgflags-dev amd64 2.2.0-2 [94.1 kB] Get:47 http://127.0.0.1:9999/debian unstable/main amd64 libgtest-dev amd64 1.8.0-6 [5110 B] Get:48 http://127.0.0.1:9999/debian unstable/main amd64 libsnappy1v5 amd64 1.1.4-3 [51.4 kB] Get:49 http://127.0.0.1:9999/debian unstable/main amd64 libsnappy-dev amd64 1.1.4-3 [64.5 kB] Get:50 http://127.0.0.1:9999/debian unstable/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-5 [205 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 26.9 MB in 0s (83.2 MB/s) Selecting previously unselected package groff-base. (Reading database ... 10178 files and directories currently installed.) Preparing to unpack .../00-groff-base_1.22.3-9_amd64.deb ... Unpacking groff-base (1.22.3-9) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_9.0.12+nmu1_amd64.deb ... Unpacking bsdmainutils (9.0.12+nmu1) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../02-libpipeline1_1.4.1-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.4.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../03-man-db_2.7.6.1-2_amd64.deb ... Unpacking man-db (2.7.6.1-2) ... Selecting previously unselected package libpython2.7-minimal:amd64. Preparing to unpack .../04-libpython2.7-minimal_2.7.13-2_amd64.deb ... Unpacking libpython2.7-minimal:amd64 (2.7.13-2) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../05-python2.7-minimal_2.7.13-2_amd64.deb ... Unpacking python2.7-minimal (2.7.13-2) ... Selecting previously unselected package python-minimal. Preparing to unpack .../06-python-minimal_2.7.13-2_amd64.deb ... Unpacking python-minimal (2.7.13-2) ... Selecting previously unselected package mime-support. Preparing to unpack .../07-mime-support_3.60_all.deb ... Unpacking mime-support (3.60) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../08-libexpat1_2.2.1-3_amd64.deb ... Unpacking libexpat1:amd64 (2.2.1-3) ... Selecting previously unselected package readline-common. Preparing to unpack .../09-readline-common_7.0-3_all.deb ... Unpacking readline-common (7.0-3) ... Selecting previously unselected package libreadline7:amd64. Preparing to unpack .../10-libreadline7_7.0-3_amd64.deb ... Unpacking libreadline7:amd64 (7.0-3) ... Selecting previously unselected package libsqlite3-0:amd64. Preparing to unpack .../11-libsqlite3-0_3.16.2-5_amd64.deb ... Unpacking libsqlite3-0:amd64 (3.16.2-5) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../12-libssl1.1_1.1.0f-3_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.0f-3) ... Selecting previously unselected package libpython2.7-stdlib:amd64. Preparing to unpack .../13-libpython2.7-stdlib_2.7.13-2_amd64.deb ... Unpacking libpython2.7-stdlib:amd64 (2.7.13-2) ... Selecting previously unselected package python2.7. Preparing to unpack .../14-python2.7_2.7.13-2_amd64.deb ... Unpacking python2.7 (2.7.13-2) ... Selecting previously unselected package libpython-stdlib:amd64. Preparing to unpack .../15-libpython-stdlib_2.7.13-2_amd64.deb ... Unpacking libpython-stdlib:amd64 (2.7.13-2) ... Setting up libpython2.7-minimal:amd64 (2.7.13-2) ... Setting up python2.7-minimal (2.7.13-2) ... Setting up python-minimal (2.7.13-2) ... Selecting previously unselected package python. (Reading database ... 11558 files and directories currently installed.) Preparing to unpack .../00-python_2.7.13-2_amd64.deb ... Unpacking python (2.7.13-2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.30-1_amd64.deb ... Unpacking libmagic-mgc (1:5.30-1) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../02-libmagic1_1%3a5.30-1_amd64.deb ... Unpacking libmagic1:amd64 (1:5.30-1) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.30-1_amd64.deb ... Unpacking file (1:5.30-1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.19.8.1-2+b1_amd64.deb ... Unpacking gettext-base (0.19.8.1-2+b1) ... Selecting previously unselected package libicu57:amd64. Preparing to unpack .../05-libicu57_57.1-6_amd64.deb ... Unpacking libicu57:amd64 (57.1-6) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../06-libxml2_2.9.4+dfsg1-3_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-3) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../07-libsigsegv2_2.11-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.11-1) ... Selecting previously unselected package m4. Preparing to unpack .../08-m4_1.4.18-1_amd64.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../09-autoconf_2.69-10_all.deb ... Unpacking autoconf (2.69-10) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../10-autotools-dev_20161112.1_all.deb ... Unpacking autotools-dev (20161112.1) ... Selecting previously unselected package automake. Preparing to unpack .../11-automake_1%3a1.15.1-2_all.deb ... Unpacking automake (1:1.15.1-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../12-autopoint_0.19.8.1-2_all.deb ... Unpacking autopoint (0.19.8.1-2) ... Selecting previously unselected package libtool. Preparing to unpack .../13-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../14-dh-autoreconf_14_all.deb ... Unpacking dh-autoreconf (14) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../15-libarchive-zip-perl_1.59-1_all.deb ... Unpacking libarchive-zip-perl (1.59-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../16-libfile-stripnondeterminism-perl_0.035-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.035-2) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../17-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../18-dh-strip-nondeterminism_0.035-2_all.deb ... Unpacking dh-strip-nondeterminism (0.035-2) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../19-libglib2.0-0_2.52.3-1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.52.3-1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../20-libcroco3_0.6.12-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-1) ... Selecting previously unselected package gettext. Preparing to unpack .../21-gettext_0.19.8.1-2+b1_amd64.deb ... Unpacking gettext (0.19.8.1-2+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../22-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../23-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../24-debhelper_10.6.2_all.deb ... Unpacking debhelper (10.6.2) ... Selecting previously unselected package googletest:amd64. Preparing to unpack .../25-googletest_1.8.0-6_amd64.deb ... Unpacking googletest:amd64 (1.8.0-6) ... Selecting previously unselected package libbz2-dev:amd64. Preparing to unpack .../26-libbz2-dev_1.0.6-8.1_amd64.deb ... Unpacking libbz2-dev:amd64 (1.0.6-8.1) ... Selecting previously unselected package libgflags2.2. Preparing to unpack .../27-libgflags2.2_2.2.0-2_amd64.deb ... Unpacking libgflags2.2 (2.2.0-2) ... Selecting previously unselected package libgflags-dev. Preparing to unpack .../28-libgflags-dev_2.2.0-2_amd64.deb ... Unpacking libgflags-dev (2.2.0-2) ... Selecting previously unselected package libgtest-dev:amd64. Preparing to unpack .../29-libgtest-dev_1.8.0-6_amd64.deb ... Unpacking libgtest-dev:amd64 (1.8.0-6) ... Selecting previously unselected package libsnappy1v5:amd64. Preparing to unpack .../30-libsnappy1v5_1.1.4-3_amd64.deb ... Unpacking libsnappy1v5:amd64 (1.1.4-3) ... Selecting previously unselected package libsnappy-dev:amd64. Preparing to unpack .../31-libsnappy-dev_1.1.4-3_amd64.deb ... Unpacking libsnappy-dev:amd64 (1.1.4-3) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../32-zlib1g-dev_1%3a1.2.8.dfsg-5_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ... Selecting previously unselected package sbuild-build-depends-rocksdb-dummy. Preparing to unpack .../33-sbuild-build-depends-rocksdb-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-rocksdb-dummy (0.invalid.0) ... Setting up readline-common (7.0-3) ... Setting up libexpat1:amd64 (2.2.1-3) ... Setting up libgflags2.2 (2.2.0-2) ... Setting up libbz2-dev:amd64 (1.0.6-8.1) ... Setting up libgflags-dev (2.2.0-2) ... Setting up libarchive-zip-perl (1.59-1) ... Setting up mime-support (3.60) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:amd64 (2.11-1) ... Setting up libreadline7:amd64 (7.0-3) ... Setting up groff-base (1.22.3-9) ... Setting up libglib2.0-0:amd64 (2.52.3-1) ... No schema files found: doing nothing. Setting up gettext-base (0.19.8.1-2+b1) ... Setting up libpipeline1:amd64 (1.4.1-2) ... Setting up m4 (1.4.18-1) ... Setting up libicu57:amd64 (57.1-6) ... Setting up libxml2:amd64 (2.9.4+dfsg1-3) ... Setting up libmagic-mgc (1:5.30-1) ... Setting up libmagic1:amd64 (1:5.30-1) ... Setting up libcroco3:amd64 (0.6.12-1) ... Processing triggers for libc-bin (2.24-12) ... Setting up autotools-dev (20161112.1) ... Setting up libssl1.1:amd64 (1.1.0f-3) ... Setting up libsnappy1v5:amd64 (1.1.4-3) ... Setting up libsqlite3-0:amd64 (3.16.2-5) ... Setting up bsdmainutils (9.0.12+nmu1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libpython2.7-stdlib:amd64 (2.7.13-2) ... Setting up autopoint (0.19.8.1-2) ... Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ... Setting up libfile-stripnondeterminism-perl (0.035-2) ... Setting up gettext (0.19.8.1-2+b1) ... Setting up python2.7 (2.7.13-2) ... Setting up autoconf (2.69-10) ... Setting up file (1:5.30-1) ... Setting up libpython-stdlib:amd64 (2.7.13-2) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up libsnappy-dev:amd64 (1.1.4-3) ... Setting up automake (1:1.15.1-2) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.7.6.1-2) ... Not building database; man-db/auto-update is not 'true'. Setting up python (2.7.13-2) ... Setting up libtool (2.4.6-2) ... Setting up po-debconf (1.0.20) ... Setting up googletest:amd64 (1.8.0-6) ... Setting up libgtest-dev:amd64 (1.8.0-6) ... Setting up dh-strip-nondeterminism (0.035-2) ... Setting up debhelper (10.6.2) ... Setting up dh-autoreconf (14) ... Setting up sbuild-build-depends-rocksdb-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.24-12) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.9.0-2-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.28-6 dpkg-dev_1.18.24 g++-6_6.4.0-1 gcc-6_6.4.0-1 libc6-dev_2.24-12 libstdc++-6-dev_6.4.0-1 libstdc++6_7.1.0-9 linux-libc-dev_4.11.6-1 Package versions: adduser_3.115 apt_1.5~beta1 autoconf_2.69-10 automake_1:1.15.1-2 autopoint_0.19.8.1-2 autotools-dev_20161112.1 base-files_10 base-passwd_3.5.43 bash_4.4-5 binutils_2.28-6 bsdmainutils_9.0.12+nmu1 bsdutils_1:2.29.2-1 build-essential_12.3 bzip2_1.0.6-8.1 clang-3.9_1:3.9.1-10 coreutils_8.26-3 cpp_4:6.3.0-4d1 cpp-6_6.4.0-1 dash_0.5.8-2.4 debconf_1.5.62 debfoster_2.7-2.1+b1 debhelper_10.6.2 debian-archive-keyring_2017.5 debianutils_4.8.1.1 dh-autoreconf_14 dh-strip-nondeterminism_0.035-2 diffutils_1:3.5-3 dpkg_1.18.24 dpkg-dev_1.18.24 e2fslibs_1.43.4-2 e2fsprogs_1.43.4-2 eatmydata_105-5 fakeroot_1.21-3.1 file_1:5.30-1 findutils_4.6.0+git+20170606-2 g++_4:6.3.0-4d1 g++-6_6.4.0-1 gcc_4:6.3.0-4d1 gcc-6_6.4.0-1 gcc-6-base_6.4.0-1 gcc-7-base_7.1.0-9 gettext_0.19.8.1-2+b1 gettext-base_0.19.8.1-2+b1 googletest_1.8.0-6 gpgv_2.1.18-8 grep_2.27-2 groff-base_1.22.3-9 gzip_1.6-5+b1 hostname_3.18+b1 init-system-helpers_1.48 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3+b1 libapt-pkg5.0_1.5~beta1 libarchive-zip-perl_1.59-1 libasan3_6.4.0-1 libatomic1_7.1.0-9 libattr1_1:2.4.47-2+b2 libaudit-common_1:2.7.7-1 libaudit1_1:2.7.7-1+b1 libblkid1_2.29.2-1 libbsd0_0.8.5-1 libbz2-1.0_1.0.6-8.1 libbz2-dev_1.0.6-8.1 libc-bin_2.24-12 libc-dev-bin_2.24-12 libc6_2.24-12 libc6-dev_2.24-12 libcap-ng0_0.7.7-3+b1 libcc1-0_7.1.0-9 libcilkrts5_7.1.0-9 libclang-common-3.9-dev_1:3.9.1-10 libclang1-3.9_1:3.9.1-10 libcomerr2_1.43.4-2 libcroco3_0.6.12-1 libdb5.3_5.3.28-12+b1 libdebconfclient0_0.229 libdpkg-perl_1.18.24 libeatmydata1_105-5 libedit2_3.1-20170329-1 libexpat1_2.2.1-3 libfakeroot_1.21-3.1 libfdisk1_2.29.2-1 libffi6_3.2.1-6 libfile-stripnondeterminism-perl_0.035-2 libgc1c2_1:7.4.2-8 libgcc-6-dev_6.4.0-1 libgcc1_1:7.1.0-9 libgcrypt20_1.7.8-1 libgdbm3_1.8.3-14 libgflags-dev_2.2.0-2 libgflags2.2_2.2.0-2 libglib2.0-0_2.52.3-1 libgmp10_2:6.1.2+dfsg-1 libgnutls30_3.5.13-2 libgomp1_7.1.0-9 libgpg-error0_1.27-3 libgtest-dev_1.8.0-6 libhogweed4_3.3-1+b1 libicu57_57.1-6 libidn2-0_0.16-1+b1 libisl15_0.18-1 libitm1_7.1.0-9 libjsoncpp1_1.7.4-3 libllvm3.9_1:3.9.1-10 liblsan0_7.1.0-9 liblz4-1_0.0~r131-2+b1 liblzma5_5.2.2-1.2+b1 libmagic-mgc_1:5.30-1 libmagic1_1:5.30-1 libmount1_2.29.2-1 libmpc3_1.0.3-1+b2 libmpfr4_3.1.5-1 libmpx2_7.1.0-9 libncurses5_6.0+20161126-1 libncursesw5_6.0+20161126-1 libnettle6_3.3-1+b1 libobjc-6-dev_6.4.0-1 libobjc4_7.1.0-9 libp11-kit0_0.23.7-2 libpam-modules_1.1.8-3.6 libpam-modules-bin_1.1.8-3.6 libpam-runtime_1.1.8-3.6 libpam0g_1.1.8-3.6 libpcre3_2:8.39-3 libperl5.24_5.24.1-6 libpipeline1_1.4.1-2 libpython-stdlib_2.7.13-2 libpython2.7-minimal_2.7.13-2 libpython2.7-stdlib_2.7.13-2 libquadmath0_7.1.0-9 libreadline7_7.0-3 libselinux1_2.6-3+b2 libsemanage-common_2.6-2 libsemanage1_2.6-2+b1 libsepol1_2.6-2 libsigsegv2_2.11-1 libsmartcols1_2.29.2-1 libsnappy-dev_1.1.4-3 libsnappy1v5_1.1.4-3 libsqlite3-0_3.16.2-5 libss2_1.43.4-2 libssl1.1_1.1.0f-3 libstdc++-6-dev_6.4.0-1 libstdc++6_7.1.0-9 libsystemd0_233-10 libtasn1-6_4.12-2 libtimedate-perl_2.3000-2 libtinfo5_6.0+20161126-1 libtool_2.4.6-2 libtsan0_7.1.0-9 libubsan0_7.1.0-9 libudev1_233-10 libunistring2_0.9.7-2 libustr-1.0-1_1.0.4-6 libuuid1_2.29.2-1 libxml2_2.9.4+dfsg1-3 linux-libc-dev_4.11.6-1 login_1:4.4-4.1 m4_1.4.18-1 make_4.1-9.1 man-db_2.7.6.1-2 mawk_1.3.3-17+b3 mime-support_3.60 mount_2.29.2-1 multiarch-support_2.24-12 ncurses-base_6.0+20161126-1 ncurses-bin_6.0+20161126-1 passwd_1:4.4-4.1 patch_2.7.5-1+b2 perl_5.24.1-6 perl-base_5.24.1-6 perl-modules-5.24_5.24.1-6 po-debconf_1.0.20 python_2.7.13-2 python-minimal_2.7.13-2 python2.7_2.7.13-2 python2.7-minimal_2.7.13-2 readline-common_7.0-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-rocksdb-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.9 sysvinit-utils_2.88dsf-59.9 tar_1.29b-1.1 util-linux_2.29.2-1 xz-utils_5.2.2-1.2+b1 zlib1g_1:1.2.8.dfsg-5 zlib1g-dev_1:1.2.8.dfsg-5 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Sun May 22 18:52:32 2016 UTC gpgv: using RSA key DCE310E7864CC8BF gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./rocksdb_4.5.1-2.dsc dpkg-source: info: extracting rocksdb in /<> dpkg-source: info: unpacking rocksdb_4.5.1.orig.tar.gz dpkg-source: info: unpacking rocksdb_4.5.1-2.debian.tar.xz dpkg-source: info: applying install_dir-is-destdir.patch dpkg-source: info: applying fix_FTBFS.patch dpkg-source: info: applying fix_gtest_unused_variable.patch dpkg-source: info: applying build_reproducible.patch dpkg-source: info: applying mips64el_sparc64_compiler_switch.patch Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=POSIX LOGNAME=user42 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1001 SCHROOT_GROUP=user42 SCHROOT_SESSION_ID=unstable-amd64-sbuild-28fec5a4-f0ba-4a98-abf7-878fc473cc56 SCHROOT_UID=1001 SCHROOT_USER=user42 SHELL=/bin/sh USER=user42 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package rocksdb dpkg-buildpackage: info: source version 4.5.1-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Laszlo Boszormenyi (GCS) dpkg-source --before-build rocksdb-4.5.1 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --dbg-package=librocksdb4.5-dbg --parallel --fail-missing dh_testdir -O--dbg-package=librocksdb4.5-dbg -O--parallel -O--fail-missing dh_auto_clean -O--dbg-package=librocksdb4.5-dbg -O--parallel -O--fail-missing make -j16 clean make[1]: Entering directory '/<>' /bin/sh: 1: ./db_test: not found rm -f db_bench table_reader_bench cache_bench memtablerep_bench sst_dump db_sanity_test db_stress write_stress ldb db_repl_stress rocksdb_dump rocksdb_undump db_test db_iter_test db_log_iter_test db_compaction_filter_test db_compaction_test db_dynamic_level_test db_inplace_update_test db_tailing_iter_test db_universal_compaction_test db_wal_test db_properties_test db_table_properties_test block_hash_index_test autovector_test column_family_test table_properties_collector_test arena_test auto_roll_logger_test block_test bloom_test dynamic_bloom_test c_test cache_test checkpoint_test coding_test corruption_test crc32c_test slice_transform_test dbformat_test env_test fault_injection_test filelock_test filename_test file_reader_writer_test block_based_filter_block_test full_filter_block_test histogram_test inlineskiplist_test log_test manual_compaction_test memenv_test mock_env_test memtable_list_test merge_helper_test memory_test merge_test merger_test options_file_test redis_test reduce_levels_test plain_table_db_test comparator_db_test prefix_test skiplist_test stringappend_test ttl_test backupable_db_test document_db_test json_document_test spatial_db_test version_edit_test version_set_test compaction_picker_test version_builder_test file_indexer_test write_batch_test write_batch_with_index_test write_controller_test deletefile_test table_test thread_local_test geodb_test rate_limiter_test delete_scheduler_test options_test options_util_test event_logger_test cuckoo_table_builder_test cuckoo_table_reader_test cuckoo_table_db_test flush_job_test wal_manager_test listener_test compaction_iterator_test compaction_job_test thread_list_test sst_dump_test compact_files_test perf_context_test optimistic_transaction_test write_callback_test heap_test compact_on_deletion_collector_test compaction_job_stats_test transaction_test ldb_cmd_test librocksdb.a librocksdb.so librocksdb.so.4 librocksdb.so.4.5 librocksdb.so.4.5.1 rm -rf make_config.mk util/build_version.cc: t LOG /dev/shm/rocksdb.92g0 unity.cc jls jl ios-x86 ios-arm scan_build_report find . -name "*.[oda]" -exec rm -f {} \; find . -type f -regex ".*\.\(\(gcda\)\|\(gcno\)\)" -exec rm {} \; rm -rf bzip2* snappy* zlib* lz4* make[1]: Leaving directory '/<>' dh_clean -O--dbg-package=librocksdb4.5-dbg -O--parallel -O--fail-missing debian/rules build-arch dh build-arch --dbg-package=librocksdb4.5-dbg --parallel --fail-missing dh_testdir -a -O--dbg-package=librocksdb4.5-dbg -O--parallel -O--fail-missing dh_update_autotools_config -a -O--dbg-package=librocksdb4.5-dbg -O--parallel -O--fail-missing dh_auto_configure -a -O--dbg-package=librocksdb4.5-dbg -O--parallel -O--fail-missing debian/rules override_dh_auto_build make[1]: Entering directory '/<>' ARCH=x86_64 PORTABLE=1 make all make[2]: Entering directory '/<>' Makefile:104: Warning: Compiling in debug mode. Don't use the resulting binary in production /bin/sh: 1: ./db_test: not found In file included from util/thread_local_test.cc:16: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 3 errors generated. In file included from util/thread_list_test.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_list_test.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_list_test.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_list_test.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ util/thread_list_test.cc:13:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ util/thread_list_test.cc:13:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ util/thread_list_test.cc:13:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from utilities/write_batch_with_index/write_batch_with_index_test.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index_test.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index_test.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index_test.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/transactions/transaction_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/memory/memory_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/memory/memory_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/memory/memory_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/memory/memory_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/checkpoint/checkpoint_test.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/checkpoint/checkpoint_test.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/checkpoint/checkpoint_test.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/checkpoint/checkpoint_test.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from tools/reduce_levels_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from tools/reduce_levels_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from tools/reduce_levels_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from tools/reduce_levels_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from tools/ldb_cmd_test.cc:8: In file included from ./tools/ldb_cmd.h:19: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from tools/ldb_cmd_test.cc:8: In file included from ./tools/ldb_cmd.h:19: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from tools/ldb_cmd_test.cc:8: In file included from ./tools/ldb_cmd.h:19: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from tools/ldb_cmd_test.cc:8: In file included from ./tools/ldb_cmd.h:19: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from table/table_test.cc:21: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/table_test.cc:21: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/table_test.cc:21: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/table_test.cc:21: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from table/table_reader_bench.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/table_reader_bench.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/table_reader_bench.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/table_reader_bench.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from table/block_test.cc:11: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/block_test.cc:11: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/block_test.cc:11: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/block_test.cc:11: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/write_callback_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_callback_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_callback_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_callback_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/write_batch_test.cc:13: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_batch_test.cc:13: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_batch_test.cc:13: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_batch_test.cc:13: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/wal_manager_test.cc:14: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/wal_manager_test.cc:14: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/wal_manager_test.cc:14: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/wal_manager_test.cc:14: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/version_set_test.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_set_test.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_set_test.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_set_test.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/version_builder_test.cc:8: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_builder_test.cc:8: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_builder_test.cc:8: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_builder_test.cc:8: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_test_util.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test_util.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test_util.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test_util.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/table_properties_collector_test.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/table_properties_collector_test.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/table_properties_collector_test.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/table_properties_collector_test.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/plain_table_db_test.cc:17: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/plain_table_db_test.cc:17: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/plain_table_db_test.cc:17: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/plain_table_db_test.cc:17: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/perf_context_test.cc:19: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/perf_context_test.cc:19: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/perf_context_test.cc:19: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/options_file_test.cc:9: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/options_file_test.cc:9: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/options_file_test.cc:9: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/options_file_test.cc:9: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/merge_test.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/merge_test.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/merge_test.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/merge_test.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/memtablerep_bench.cc:30: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtablerep_bench.cc:30: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtablerep_bench.cc:30: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtablerep_bench.cc:30: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/listener_test.cc:6: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/listener_test.cc:6: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/listener_test.cc:6: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/listener_test.cc:6: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ db/listener_test.cc:122:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ db/listener_test.cc:122:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ db/listener_test.cc:122:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ db/listener_test.cc:122:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ db/listener_test.cc:179:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ db/listener_test.cc:179:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ db/listener_test.cc:179:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ db/listener_test.cc:179:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ db/listener_test.cc:235:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ db/listener_test.cc:235:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ db/listener_test.cc:235:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ db/listener_test.cc:235:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ db/listener_test.cc:271:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/inlineskiplist_test.cc:13: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/inlineskiplist_test.cc:13: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/inlineskiplist_test.cc:13: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/inlineskiplist_test.cc:13: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/flush_job_test.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job_test.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job_test.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job_test.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/fault_injection_test.cc:16: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/fault_injection_test.cc:16: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/fault_injection_test.cc:16: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/fault_injection_test.cc:16: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/deletefile_test.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/deletefile_test.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/deletefile_test.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/deletefile_test.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_table_properties_test.cc:13: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_table_properties_test.cc:13: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_table_properties_test.cc:13: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_table_properties_test.cc:13: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_wal_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_wal_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_wal_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_wal_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_tailing_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_tailing_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_tailing_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_tailing_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_universal_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_universal_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_universal_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_universal_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_log_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_log_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_log_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_log_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_inplace_update_test.cc:9: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_inplace_update_test.cc:9: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_inplace_update_test.cc:9: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_inplace_update_test.cc:9: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_dynamic_level_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_dynamic_level_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_dynamic_level_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_dynamic_level_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_compaction_filter_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_compaction_filter_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_compaction_filter_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_compaction_filter_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_test.cc:29: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test.cc:29: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test.cc:29: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test.cc:29: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/db_bench.cc:44: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_bench.cc:44: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_bench.cc:44: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_bench.cc:44: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/cuckoo_table_db_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/cuckoo_table_db_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/cuckoo_table_db_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/cuckoo_table_db_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/corruption_test.cc:23: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/corruption_test.cc:23: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/corruption_test.cc:23: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/corruption_test.cc:23: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/compaction_picker_test.cc:6: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_picker_test.cc:6: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_picker_test.cc:6: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_picker_test.cc:6: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/compaction_job_stats_test.cc:24: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_stats_test.cc:24: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_stats_test.cc:24: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_stats_test.cc:24: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/compaction_job_test.cc:13: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_test.cc:13: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_test.cc:13: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_test.cc:13: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/column_family_test.cc:15: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family_test.cc:15: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family_test.cc:15: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family_test.cc:15: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from util/thread_status_util_debug.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util_debug.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util_debug.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util_debug.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util_debug.cc:10: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util_debug.cc:10: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util_debug.cc:10: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util.cc:6: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util.cc:6: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util.cc:6: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from util/thread_status_updater_debug.cc:8: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater_debug.cc:8: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater_debug.cc:8: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater_debug.cc:8: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_updater_debug.cc:9: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from util/thread_status_updater.cc:10: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater.cc:10: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater.cc:10: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater.cc:10: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ util/thread_status_updater.cc:14:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ util/thread_status_updater.cc:14:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ util/thread_status_updater.cc:14:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from util/thread_status_impl.cc:12: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_impl.cc:12: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_impl.cc:12: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_impl.cc:12: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ util/thread_status_impl.cc:16:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ util/thread_status_impl.cc:16:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ util/thread_status_impl.cc:16:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ util/thread_status_impl.cc:16:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ 8 errors generated. In file included from util/thread_local.cc:10: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:17:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:17:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:17:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:192:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if !(ROCKSDB_SUPPORT_THREAD_LOCAL) ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:192:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:192:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:230:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if !(ROCKSDB_SUPPORT_THREAD_LOCAL) ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:230:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:230:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 12 errors generated. In file included from util/random.cc:15: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/random.cc:17:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/random.cc:17:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/random.cc:17:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/write_batch_with_index/write_batch_with_index_internal.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index_internal.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index_internal.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index_internal.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/write_batch_with_index/write_batch_with_index.cc:13: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index.cc:13: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index.cc:13: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index.cc:13: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/ttl/db_ttl_impl.cc:6: In file included from ./utilities/ttl/db_ttl_impl.h:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/ttl/db_ttl_impl.cc:6: In file included from ./utilities/ttl/db_ttl_impl.h:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/ttl/db_ttl_impl.cc:6: In file included from ./utilities/ttl/db_ttl_impl.h:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/ttl/db_ttl_impl.cc:6: In file included from ./utilities/ttl/db_ttl_impl.h:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/transactions/transaction_util.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_util.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_util.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_util.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/transactions/transaction_impl.cc:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_impl.cc:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_impl.cc:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_impl.cc:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/transactions/transaction_lock_mgr.cc:12: In file included from ./utilities/transactions/transaction_lock_mgr.h:16: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 3 errors generated. In file included from utilities/transactions/transaction_db_impl.cc:8: In file included from ./utilities/transactions/transaction_db_impl.h:17: In file included from ./utilities/transactions/transaction_lock_mgr.h:16: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_db_impl.cc:14: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_db_impl.cc:14: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_db_impl.cc:14: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/transactions/transaction_base.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_base.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_base.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_base.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/transactions/optimistic_transaction_db_impl.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/optimistic_transaction_db_impl.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/optimistic_transaction_db_impl.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/optimistic_transaction_db_impl.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/transactions/optimistic_transaction_impl.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/optimistic_transaction_impl.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/optimistic_transaction_impl.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/optimistic_transaction_impl.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/memory/memory_util.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/memory/memory_util.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/memory/memory_util.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/memory/memory_util.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/checkpoint/checkpoint.cc:22: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/checkpoint/checkpoint.cc:22: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/checkpoint/checkpoint.cc:22: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/checkpoint/checkpoint.cc:22: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/instrumented_mutex.cc:8: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/instrumented_mutex.cc:8: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/instrumented_mutex.cc:8: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from util/concurrent_arena.cc:10: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from util/concurrent_arena.cc:10: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from util/concurrent_arena.cc:10: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from util/concurrent_arena.cc:10: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/concurrent_arena.cc:18:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/concurrent_arena.cc:18:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/concurrent_arena.cc:18:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/concurrent_arena.cc:42:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/concurrent_arena.cc:42:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/concurrent_arena.cc:42:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 12 errors generated. GEN util/build_version.cc In file included from memtable/vectorrep.cc:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/vectorrep.cc:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/vectorrep.cc:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/vectorrep.cc:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from memtable/skiplistrep.cc:7: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/skiplistrep.cc:7: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/skiplistrep.cc:7: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/skiplistrep.cc:7: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from memtable/hash_skiplist_rep.cc:18: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_skiplist_rep.cc:18: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_skiplist_rep.cc:18: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_skiplist_rep.cc:18: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from memtable/hash_linklist_rep.cc:19: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_linklist_rep.cc:19: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_linklist_rep.cc:19: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_linklist_rep.cc:19: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from memtable/hash_cuckoo_rep.cc:18: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_cuckoo_rep.cc:18: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_cuckoo_rep.cc:18: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_cuckoo_rep.cc:18: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/xfunc_test_points.cc:6: In file included from ./db/xfunc_test_points.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/xfunc_test_points.cc:6: In file included from ./db/xfunc_test_points.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/xfunc_test_points.cc:6: In file included from ./db/xfunc_test_points.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/xfunc_test_points.cc:6: In file included from ./db/xfunc_test_points.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/write_thread.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_thread.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_thread.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_thread.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/write_batch.cc:33: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_batch.cc:33: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_batch.cc:33: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_batch.cc:33: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/wal_manager.cc:10: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/wal_manager.cc:10: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/wal_manager.cc:10: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/wal_manager.cc:10: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/version_set.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_set.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_set.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_set.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/version_edit.cc:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_edit.cc:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_edit.cc:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_edit.cc:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/version_builder.cc:27: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_builder.cc:27: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_builder.cc:27: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_builder.cc:27: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/transaction_log_impl.cc:12: In file included from ./db/transaction_log_impl.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/transaction_log_impl.cc:12: In file included from ./db/transaction_log_impl.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/transaction_log_impl.cc:12: In file included from ./db/transaction_log_impl.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/transaction_log_impl.cc:12: In file included from ./db/transaction_log_impl.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/repair.cc:69: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/repair.cc:69: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/repair.cc:69: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/repair.cc:69: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/memtable_list.cc:6: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable_list.cc:6: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable_list.cc:6: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable_list.cc:6: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/memtable.cc:10: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable.cc:10: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable.cc:10: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable.cc:10: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/managed_iterator.cc:8: In file included from ./db/managed_iterator.h:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/managed_iterator.cc:8: In file included from ./db/managed_iterator.h:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/managed_iterator.cc:8: In file included from ./db/managed_iterator.h:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/managed_iterator.cc:8: In file included from ./db/managed_iterator.h:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/internal_stats.cc:9: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/internal_stats.cc:9: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/internal_stats.cc:9: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/internal_stats.cc:9: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/forward_iterator.cc:13: In file included from ./db/job_context.h:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/forward_iterator.cc:13: In file included from ./db/job_context.h:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/forward_iterator.cc:13: In file included from ./db/job_context.h:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/forward_iterator.cc:13: In file included from ./db/job_context.h:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/flush_scheduler.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_scheduler.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_scheduler.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_scheduler.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/flush_job.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/event_helpers.cc:6: In file included from ./db/event_helpers.h:11: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/event_helpers.cc:6: In file included from ./db/event_helpers.h:11: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/event_helpers.cc:6: In file included from ./db/event_helpers.h:11: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/event_helpers.cc:6: In file included from ./db/event_helpers.h:11: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/experimental.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/experimental.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/experimental.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/experimental.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_impl_experimental.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_experimental.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_experimental.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_experimental.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_impl_readonly.cc:7: In file included from ./db/db_impl_readonly.h:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_readonly.cc:7: In file included from ./db/db_impl_readonly.h:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_readonly.cc:7: In file included from ./db/db_impl_readonly.h:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_readonly.cc:7: In file included from ./db/db_impl_readonly.h:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_impl_debug.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_debug.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_debug.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_debug.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_debug.cc:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_impl_debug.cc:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_impl_debug.cc:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_impl_debug.cc:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/db_impl.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl.cc:98: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_impl.cc:98: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_impl.cc:98: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_impl.cc:98: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/db_filesnapshot.cc:20: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_filesnapshot.cc:20: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_filesnapshot.cc:20: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_filesnapshot.cc:20: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/convenience.cc:14: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/convenience.cc:14: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/convenience.cc:14: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/convenience.cc:14: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/compaction_picker.cc:10: In file included from ./db/compaction_picker.h:18: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_picker.cc:10: In file included from ./db/compaction_picker.h:18: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_picker.cc:10: In file included from ./db/compaction_picker.h:18: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_picker.cc:10: In file included from ./db/compaction_picker.h:18: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/compaction_job.cc:10: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job.cc:10: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job.cc:10: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job.cc:10: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/compaction_iterator.cc:8: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_iterator.cc:8: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_iterator.cc:8: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_iterator.cc:8: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/compaction.cc:10: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction.cc:10: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction.cc:10: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction.cc:10: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/compacted_db_impl.cc:7: In file included from ./db/compacted_db_impl.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compacted_db_impl.cc:7: In file included from ./db/compacted_db_impl.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compacted_db_impl.cc:7: In file included from ./db/compacted_db_impl.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compacted_db_impl.cc:7: In file included from ./db/compacted_db_impl.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/column_family.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/builder.cc:16: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:16: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:16: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:16: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. Makefile:104: Warning: Compiling in debug mode. Don't use the resulting binary in production /bin/sh: 1: ./db_test: not found In file included from util/thread_local_test.cc:16: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 3 errors generated. In file included from util/thread_list_test.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_list_test.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_list_test.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_list_test.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_list_test.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ util/thread_list_test.cc:13:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ util/thread_list_test.cc:13:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ util/thread_list_test.cc:13:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from utilities/write_batch_with_index/write_batch_with_index_test.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index_test.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index_test.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index_test.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/transactions/transaction_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/memory/memory_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/memory/memory_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/memory/memory_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/memory/memory_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/checkpoint/checkpoint_test.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/checkpoint/checkpoint_test.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/checkpoint/checkpoint_test.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/checkpoint/checkpoint_test.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from tools/reduce_levels_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from tools/reduce_levels_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from tools/reduce_levels_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from tools/reduce_levels_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from tools/ldb_cmd_test.cc:8: In file included from ./tools/ldb_cmd.h:19: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from tools/ldb_cmd_test.cc:8: In file included from ./tools/ldb_cmd.h:19: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from tools/ldb_cmd_test.cc:8: In file included from ./tools/ldb_cmd.h:19: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from tools/ldb_cmd_test.cc:8: In file included from ./tools/ldb_cmd.h:19: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from table/table_test.cc:21: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/table_test.cc:21: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/table_test.cc:21: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/table_test.cc:21: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from table/table_reader_bench.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/table_reader_bench.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/table_reader_bench.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/table_reader_bench.cc:19: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from table/block_test.cc:11: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/block_test.cc:11: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/block_test.cc:11: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from table/block_test.cc:11: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/write_callback_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_callback_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_callback_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_callback_test.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/write_batch_test.cc:13: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_batch_test.cc:13: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_batch_test.cc:13: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_batch_test.cc:13: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/wal_manager_test.cc:14: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/wal_manager_test.cc:14: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/wal_manager_test.cc:14: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/wal_manager_test.cc:14: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/version_set_test.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_set_test.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_set_test.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_set_test.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/version_builder_test.cc:8: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_builder_test.cc:8: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_builder_test.cc:8: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_builder_test.cc:8: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_test_util.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test_util.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test_util.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test_util.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/table_properties_collector_test.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/table_properties_collector_test.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/table_properties_collector_test.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/table_properties_collector_test.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/plain_table_db_test.cc:17: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/plain_table_db_test.cc:17: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/plain_table_db_test.cc:17: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/plain_table_db_test.cc:17: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/perf_context_test.cc:19: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/perf_context_test.cc:19: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/perf_context_test.cc:19: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/perf_context_test.cc:19: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/options_file_test.cc:9: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/options_file_test.cc:9: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/options_file_test.cc:9: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/options_file_test.cc:9: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/merge_test.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/merge_test.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/merge_test.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/merge_test.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/memtablerep_bench.cc:30: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtablerep_bench.cc:30: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtablerep_bench.cc:30: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtablerep_bench.cc:30: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/listener_test.cc:6: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/listener_test.cc:6: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/listener_test.cc:6: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/listener_test.cc:6: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ db/listener_test.cc:122:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ db/listener_test.cc:122:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ db/listener_test.cc:122:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ db/listener_test.cc:122:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ db/listener_test.cc:179:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ db/listener_test.cc:179:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ db/listener_test.cc:179:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ db/listener_test.cc:179:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ db/listener_test.cc:235:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ db/listener_test.cc:235:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ db/listener_test.cc:235:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ db/listener_test.cc:235:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ db/listener_test.cc:271:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/inlineskiplist_test.cc:13: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/inlineskiplist_test.cc:13: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/inlineskiplist_test.cc:13: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/inlineskiplist_test.cc:13: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/flush_job_test.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job_test.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job_test.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job_test.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/fault_injection_test.cc:16: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/fault_injection_test.cc:16: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/fault_injection_test.cc:16: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/fault_injection_test.cc:16: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/deletefile_test.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/deletefile_test.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/deletefile_test.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/deletefile_test.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_table_properties_test.cc:13: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_table_properties_test.cc:13: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_table_properties_test.cc:13: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_table_properties_test.cc:13: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_wal_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_wal_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_wal_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_wal_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_tailing_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_tailing_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_tailing_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_tailing_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_universal_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_universal_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_universal_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_universal_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_log_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_log_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_log_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_log_iter_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_inplace_update_test.cc:9: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_inplace_update_test.cc:9: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_inplace_update_test.cc:9: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_inplace_update_test.cc:9: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_dynamic_level_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_dynamic_level_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_dynamic_level_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_dynamic_level_test.cc:15: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_compaction_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_compaction_filter_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_compaction_filter_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_compaction_filter_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_compaction_filter_test.cc:10: In file included from ./db/db_test_util.h:30: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_test.cc:29: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test.cc:29: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test.cc:29: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test.cc:29: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_test.cc:75: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/db_bench.cc:44: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_bench.cc:44: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_bench.cc:44: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_bench.cc:44: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/cuckoo_table_db_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/cuckoo_table_db_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/cuckoo_table_db_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/cuckoo_table_db_test.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/corruption_test.cc:23: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/corruption_test.cc:23: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/corruption_test.cc:23: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/corruption_test.cc:23: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/compaction_picker_test.cc:6: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_picker_test.cc:6: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_picker_test.cc:6: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_picker_test.cc:6: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/compaction_job_stats_test.cc:24: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_stats_test.cc:24: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_stats_test.cc:24: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_stats_test.cc:24: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_stats_test.cc:63: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/compaction_job_test.cc:13: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_test.cc:13: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_test.cc:13: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job_test.cc:13: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/column_family_test.cc:15: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family_test.cc:15: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family_test.cc:15: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family_test.cc:15: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from util/thread_status_util_debug.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util_debug.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util_debug.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util_debug.cc:9: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util_debug.cc:9: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util_debug.cc:10: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util_debug.cc:10: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util_debug.cc:10: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_util.cc:6: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_util.cc:6: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_util.cc:6: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_util.cc:6: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from util/thread_status_updater_debug.cc:8: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater_debug.cc:8: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater_debug.cc:8: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater_debug.cc:8: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater_debug.cc:8: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_updater_debug.cc:9: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from util/thread_status_updater.cc:10: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater.cc:10: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater.cc:10: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater.cc:10: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_updater.cc:10: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ util/thread_status_updater.cc:14:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ util/thread_status_updater.cc:14:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ util/thread_status_updater.cc:14:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from util/thread_status_impl.cc:12: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_status_impl.cc:12: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_status_impl.cc:12: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_status_impl.cc:12: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ util/thread_status_impl.cc:16:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ util/thread_status_impl.cc:16:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ util/thread_status_impl.cc:16:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ util/thread_status_impl.cc:16:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ 8 errors generated. In file included from util/thread_local.cc:10: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:17:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:17:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:17:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:192:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if !(ROCKSDB_SUPPORT_THREAD_LOCAL) ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:192:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:192:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:230:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if !(ROCKSDB_SUPPORT_THREAD_LOCAL) ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:230:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/thread_local.cc:230:7: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 12 errors generated. In file included from util/random.cc:15: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/random.cc:17:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/random.cc:17:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/random.cc:17:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/write_batch_with_index/write_batch_with_index_internal.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index_internal.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index_internal.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index_internal.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/write_batch_with_index/write_batch_with_index.cc:13: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index.cc:13: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index.cc:13: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/write_batch_with_index/write_batch_with_index.cc:13: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/ttl/db_ttl_impl.cc:6: In file included from ./utilities/ttl/db_ttl_impl.h:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/ttl/db_ttl_impl.cc:6: In file included from ./utilities/ttl/db_ttl_impl.h:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/ttl/db_ttl_impl.cc:6: In file included from ./utilities/ttl/db_ttl_impl.h:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/ttl/db_ttl_impl.cc:6: In file included from ./utilities/ttl/db_ttl_impl.h:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/transactions/transaction_util.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_util.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_util.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_util.cc:18: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/transactions/transaction_impl.cc:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_impl.cc:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_impl.cc:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_impl.cc:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/transactions/transaction_lock_mgr.cc:12: In file included from ./utilities/transactions/transaction_lock_mgr.h:16: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 3 errors generated. In file included from utilities/transactions/transaction_db_impl.cc:8: In file included from ./utilities/transactions/transaction_db_impl.h:17: In file included from ./utilities/transactions/transaction_lock_mgr.h:16: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_db_impl.cc:14: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_db_impl.cc:14: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_db_impl.cc:14: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/transactions/transaction_base.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_base.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_base.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/transaction_base.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/transactions/optimistic_transaction_db_impl.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/optimistic_transaction_db_impl.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/optimistic_transaction_db_impl.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/optimistic_transaction_db_impl.cc:13: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/transactions/optimistic_transaction_impl.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/optimistic_transaction_impl.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/optimistic_transaction_impl.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/transactions/optimistic_transaction_impl.cc:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/memory/memory_util.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/memory/memory_util.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/memory/memory_util.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/memory/memory_util.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from utilities/checkpoint/checkpoint.cc:22: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/checkpoint/checkpoint.cc:22: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/checkpoint/checkpoint.cc:22: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from utilities/checkpoint/checkpoint.cc:22: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/instrumented_mutex.cc:8: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/instrumented_mutex.cc:8: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/instrumented_mutex.cc:8: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/instrumented_mutex.cc:8: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/thread_posix.cc:10: In file included from ./util/thread_posix.h:11: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from util/env_posix.cc:45: In file included from ./util/thread_posix.h:11: ./util/thread_status_util.h:87:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from util/concurrent_arena.cc:10: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from util/concurrent_arena.cc:10: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from util/concurrent_arena.cc:10: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from util/concurrent_arena.cc:10: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/concurrent_arena.cc:18:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/concurrent_arena.cc:18:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/concurrent_arena.cc:18:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/concurrent_arena.cc:42:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/concurrent_arena.cc:42:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ util/concurrent_arena.cc:42:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 12 errors generated. GEN util/build_version.cc In file included from memtable/vectorrep.cc:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/vectorrep.cc:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/vectorrep.cc:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/vectorrep.cc:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from memtable/skiplistrep.cc:7: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/skiplistrep.cc:7: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/skiplistrep.cc:7: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/skiplistrep.cc:7: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from memtable/hash_skiplist_rep.cc:18: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_skiplist_rep.cc:18: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_skiplist_rep.cc:18: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_skiplist_rep.cc:18: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from memtable/hash_linklist_rep.cc:19: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_linklist_rep.cc:19: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_linklist_rep.cc:19: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_linklist_rep.cc:19: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from memtable/hash_cuckoo_rep.cc:18: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_cuckoo_rep.cc:18: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_cuckoo_rep.cc:18: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from memtable/hash_cuckoo_rep.cc:18: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/xfunc_test_points.cc:6: In file included from ./db/xfunc_test_points.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/xfunc_test_points.cc:6: In file included from ./db/xfunc_test_points.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/xfunc_test_points.cc:6: In file included from ./db/xfunc_test_points.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/xfunc_test_points.cc:6: In file included from ./db/xfunc_test_points.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/write_thread.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_thread.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_thread.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_thread.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/write_batch.cc:33: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_batch.cc:33: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_batch.cc:33: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/write_batch.cc:33: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/wal_manager.cc:10: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/wal_manager.cc:10: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/wal_manager.cc:10: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/wal_manager.cc:10: In file included from ./db/wal_manager.h:28: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/version_set.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_set.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_set.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_set.cc:10: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/version_edit.cc:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_edit.cc:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_edit.cc:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_edit.cc:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/version_builder.cc:27: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_builder.cc:27: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_builder.cc:27: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/version_builder.cc:27: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/transaction_log_impl.cc:12: In file included from ./db/transaction_log_impl.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/transaction_log_impl.cc:12: In file included from ./db/transaction_log_impl.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/transaction_log_impl.cc:12: In file included from ./db/transaction_log_impl.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/transaction_log_impl.cc:12: In file included from ./db/transaction_log_impl.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/repair.cc:69: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/repair.cc:69: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/repair.cc:69: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/repair.cc:69: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/memtable_list.cc:6: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable_list.cc:6: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable_list.cc:6: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable_list.cc:6: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable_list.cc:22: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/memtable.cc:10: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable.cc:10: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable.cc:10: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/memtable.cc:10: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/managed_iterator.cc:8: In file included from ./db/managed_iterator.h:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/managed_iterator.cc:8: In file included from ./db/managed_iterator.h:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/managed_iterator.cc:8: In file included from ./db/managed_iterator.h:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/managed_iterator.cc:8: In file included from ./db/managed_iterator.h:14: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/internal_stats.cc:9: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/internal_stats.cc:9: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/internal_stats.cc:9: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/internal_stats.cc:9: In file included from ./db/internal_stats.h:12: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/forward_iterator.cc:13: In file included from ./db/job_context.h:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/forward_iterator.cc:13: In file included from ./db/job_context.h:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/forward_iterator.cc:13: In file included from ./db/job_context.h:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/forward_iterator.cc:13: In file included from ./db/job_context.h:15: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/flush_scheduler.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_scheduler.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_scheduler.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_scheduler.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/flush_job.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job.cc:10: In file included from ./db/flush_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/flush_job.cc:54: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/event_helpers.cc:6: In file included from ./db/event_helpers.h:11: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/event_helpers.cc:6: In file included from ./db/event_helpers.h:11: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/event_helpers.cc:6: In file included from ./db/event_helpers.h:11: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/event_helpers.cc:6: In file included from ./db/event_helpers.h:11: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/experimental.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/experimental.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/experimental.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/experimental.cc:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_impl_experimental.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_experimental.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_experimental.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_experimental.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_impl_readonly.cc:7: In file included from ./db/db_impl_readonly.h:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_readonly.cc:7: In file included from ./db/db_impl_readonly.h:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_readonly.cc:7: In file included from ./db/db_impl_readonly.h:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_readonly.cc:7: In file included from ./db/db_impl_readonly.h:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/db_impl_debug.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_debug.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_debug.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_debug.cc:12: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_debug.cc:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_impl_debug.cc:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_impl_debug.cc:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_impl_debug.cc:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl_debug.cc:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/db_impl.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl.cc:10: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl.cc:98: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_impl.cc:98: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_impl.cc:98: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_impl.cc:98: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_impl.cc:98: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/db_filesnapshot.cc:20: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_filesnapshot.cc:20: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_filesnapshot.cc:20: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/db_filesnapshot.cc:20: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/convenience.cc:14: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/convenience.cc:14: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/convenience.cc:14: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/convenience.cc:14: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/compaction_picker.cc:10: In file included from ./db/compaction_picker.h:18: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_picker.cc:10: In file included from ./db/compaction_picker.h:18: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_picker.cc:10: In file included from ./db/compaction_picker.h:18: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_picker.cc:10: In file included from ./db/compaction_picker.h:18: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/compaction_job.cc:10: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job.cc:10: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job.cc:10: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job.cc:10: In file included from ./db/compaction_job.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_job.cc:60: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/compaction_iterator.cc:8: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_iterator.cc:8: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_iterator.cc:8: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction_iterator.cc:8: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/compaction.cc:10: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction.cc:10: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction.cc:10: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compaction.cc:10: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/compacted_db_impl.cc:7: In file included from ./db/compacted_db_impl.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compacted_db_impl.cc:7: In file included from ./db/compacted_db_impl.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compacted_db_impl.cc:7: In file included from ./db/compacted_db_impl.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/compacted_db_impl.cc:7: In file included from ./db/compacted_db_impl.h:8: In file included from ./db/db_impl.h:20: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ 6 errors generated. In file included from db/column_family.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family.cc:10: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/column_family.cc:34: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. In file included from db/builder.cc:16: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:16: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:16: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:16: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. CC db/auto_roll_logger.o CC db/builder.o In file included from db/builder.cc:16: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: In file included from ./util/concurrent_arena.h:18: ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ ./util/thread_local.h:203:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:16: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_SUPPORT_THREAD_LOCAL ^ ./util/thread_local.h:22:4: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:16: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:24: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:16: In file included from ./db/compaction_iterator.h:14: In file included from ./db/compaction.h:14: In file included from ./db/version_set.h:37: In file included from ./db/column_family.h:17: In file included from ./db/memtable_list.h:16: In file included from ./db/memtable.h:25: ./util/concurrent_arena.h:97:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./util/thread_local.h:22:47: note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL' !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: In file included from ./util/thread_status_updater.h:42: ./util/thread_operation.h:22:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:50:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:26:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(NROCKSDB_THREAD_STATUS) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:27:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(OS_MACOSX) && \ ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:66:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] ./include/rocksdb/thread_status.h:28:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(IOS_CROSS_COMPILE) ^ In file included from db/builder.cc:33: In file included from ./util/thread_status_util.h:13: ./util/thread_status_updater.h:197:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if ROCKSDB_USING_THREAD_STATUS ^ ./include/rocksdb/thread_status.h:25:6: note: expanded from macro 'ROCKSDB_USING_THREAD_STATUS' !defined(ROCKSDB_LITE) && \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. Makefile:1258: recipe for target 'db/builder.o' failed make[2]: *** [db/builder.o] Error 1 make[2]: Leaving directory '/<>' debian/rules:8: recipe for target 'override_dh_auto_build' failed make[1]: *** [override_dh_auto_build] Error 2 make[1]: Leaving directory '/<>' debian/rules:16: recipe for target 'build-arch' failed make: *** [build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 -------------------------------------------------------------------------------- Build finished at 2017-07-06T17:04:26Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Type: any Build-Space: 14340 Build-Time: 83 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 7 Job: rocksdb_4.5.1-2 Machine Architecture: amd64 Package: rocksdb Package-Time: 106 Source-Version: 4.5.1-2 Space: 14340 Status: attempted Version: 4.5.1-2 -------------------------------------------------------------------------------- Finished at 2017-07-06T17:04:26Z Build needed 00:01:46, 14340k disk space E: Build failure (dpkg-buildpackage died) DC-Status: Failed 106.841129325s DC-Time-Estimation: 106.841129325 versus expected 1509 (r/m: 13.123774332352603 ; m: 106.841129325)