Last active
November 18, 2022 02:28
-
-
Save darrenfu/5ae2429e0f8d96e71a54475154ca7766 to your computer and use it in GitHub Desktop.
make error 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Applications/Xcode_14.1.0_14B47b_fb.app/Contents/Developer/usr/bin/make cmake BUILD_DIR=release BUILD_TYPE=Release && \ | |
/Applications/Xcode_14.1.0_14B47b_fb.app/Contents/Developer/usr/bin/make build BUILD_DIR=release | |
mkdir -p _build/release && \ | |
cmake -B \ | |
"_build/release" \ | |
-DTREAT_WARNINGS_AS_ERRORS=1 -DENABLE_ALL_WARNINGS=1 -DVELOX_BUILD_MINIMAL="OFF" -DVELOX_BUILD_TESTING="ON" -DCMAKE_BUILD_TYPE=Release \ | |
-GNinja -DMAX_LINK_JOBS= -DMAX_HIGH_MEM_JOBS= \ | |
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ | |
\ | |
-- Build type: Release | |
-- Disabling Codegen | |
-- Setting folly source to AUTO | |
-- Setting Protobuf source to AUTO | |
-- Found Bison keg installed by Homebrew at /opt/homebrew/opt/bison | |
-- Found Flex keg installed by Homebrew at /opt/homebrew/opt/flex | |
-- xsimd v8.0.5 | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /Users/dofu/git/velox/_build/release | |
cmake --build _build/release -j 10 | |
[1/954] Linking CXX static library lib/libgtest.a | |
[2/954] Linking CXX static library lib/libgmock.a | |
[3/954] Linking CXX static library lib/libgmock_main.a | |
[4/954] Linking CXX static library lib/libgtest_main.a | |
[5/954] Building CXX object velox/common/base/CMakeFiles/velox_common_base.dir/RandomUtil.cpp.o | |
FAILED: velox/common/base/CMakeFiles/velox_common_base.dir/RandomUtil.cpp.o | |
ccache /opt/homebrew/opt/llvm/bin/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DGFLAGS_IS_A_DLL=0 -I/opt/homebrew/opt/icu4c/include -I/Users/dofu/git/velox/. -I/Users/dofu/git/velox/velox/external/xxhash -I/Users/dofu/git/velox/third_party/xsimd/include -isystem /opt/homebrew/include -isystem /Users/dofu/git/velox/velox -isystem /Users/dofu/git/velox/velox/external -isystem /Users/dofu/git/velox/velox/external/duckdb -isystem /Users/dofu/git/velox/velox/external/duckdb/tpch/dbgen/include -isystem /usr/local/include -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -isystem /opt/homebrew/opt/[email protected]/include -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -fvisibility=hidden -fvisibility-inlines-hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Werror -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-sign-compare -Wno-ignored-qualifiers -Wno-range-loop-analysis -Wno-mismatched-tags -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode_14.1.0_14B47b_fb.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk -mmacosx-version-min=12.6 -fPIC -std=gnu++17 -MD -MT velox/common/base/CMakeFiles/velox_common_base.dir/RandomUtil.cpp.o -MF velox/common/base/CMakeFiles/velox_common_base.dir/RandomUtil.cpp.o.d -o velox/common/base/CMakeFiles/velox_common_base.dir/RandomUtil.cpp.o -c /Users/dofu/git/velox/velox/common/base/RandomUtil.cpp | |
In file included from /Users/dofu/git/velox/velox/common/base/RandomUtil.cpp:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:163: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__concepts/invocable.h:13: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/invoke.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/apply_cv.h:16: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/remove_reference.h:13: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstddef:50:9: error: no member named 'nullptr_t' in the global namespace | |
using ::nullptr_t; | |
~~^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RandomUtil.cpp:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:163: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__concepts/invocable.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:452: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_compound.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_fundamental.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: template argument for template type parameter must be a type | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here | |
template <class _Tp> struct __is_nullptr_t_impl : public false_type {}; | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RandomUtil.cpp:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:165: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: template argument for template type parameter must be a type | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:638:17: note: template parameter is declared here | |
template <class _Tp> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
: public __unary_function<nullptr_t, size_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: template argument for template type parameter must be a type | |
: public __unary_function<nullptr_t, size_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/unary_function.h:45:17: note: template parameter is declared here | |
template <class _Arg, class _Result> | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RandomUtil.cpp:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:175: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/new:94: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:45: error: field has incomplete type 'std::exception_ptr' | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:144:24: note: definition of 'std::exception_ptr' is not complete until the closing '}' | |
class _LIBCPP_TYPE_VIS exception_ptr | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:652:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY' | |
# define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:636:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' | |
__attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER)))) | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RandomUtil.cpp:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:175: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/new:94: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:55: error: expected ';' at end of declaration list | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RandomUtil.cpp:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:181: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/atomic:538: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/chrono:698: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__chrono/day.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/compare:145: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/compare_partial_order_fallback.h:13: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/partial_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/weak_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/strong_order.h:18: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:544:5: error: use of undeclared identifier '__promote' | |
__promote<_A1, _A2, _A3> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:548:22: error: no template named '__promote' | |
typedef typename __promote<_A1, _A2, _A3>::type __result_type; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:552:12: error: call to 'hypot' is ambiguous | |
return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z); | |
^~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:533:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY float hypot( float __x, float __y, float __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:534:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY double hypot( double __x, double __y, double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:535:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double __x, long double __y, long double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RandomUtil.cpp:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:187: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RandomUtil.cpp:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:187: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:42: error: expected ';' at end of declaration list | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:262:25: error: unknown type name 'nullptr_t' | |
unique_ptr& operator=(nullptr_t) _NOEXCEPT { | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RandomUtil.cpp:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:187: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
[6/954] Building CXX object velox/common/base/CMakeFiles/velox_common_base.dir/Fs.cpp.o | |
FAILED: velox/common/base/CMakeFiles/velox_common_base.dir/Fs.cpp.o | |
ccache /opt/homebrew/opt/llvm/bin/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DGFLAGS_IS_A_DLL=0 -I/opt/homebrew/opt/icu4c/include -I/Users/dofu/git/velox/. -I/Users/dofu/git/velox/velox/external/xxhash -I/Users/dofu/git/velox/third_party/xsimd/include -isystem /opt/homebrew/include -isystem /Users/dofu/git/velox/velox -isystem /Users/dofu/git/velox/velox/external -isystem /Users/dofu/git/velox/velox/external/duckdb -isystem /Users/dofu/git/velox/velox/external/duckdb/tpch/dbgen/include -isystem /usr/local/include -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -isystem /opt/homebrew/opt/[email protected]/include -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -fvisibility=hidden -fvisibility-inlines-hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Werror -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-sign-compare -Wno-ignored-qualifiers -Wno-range-loop-analysis -Wno-mismatched-tags -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode_14.1.0_14B47b_fb.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk -mmacosx-version-min=12.6 -fPIC -std=gnu++17 -MD -MT velox/common/base/CMakeFiles/velox_common_base.dir/Fs.cpp.o -MF velox/common/base/CMakeFiles/velox_common_base.dir/Fs.cpp.o.d -o velox/common/base/CMakeFiles/velox_common_base.dir/Fs.cpp.o -c /Users/dofu/git/velox/velox/common/base/Fs.cpp | |
In file included from /Users/dofu/git/velox/velox/common/base/Fs.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Fs.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:163: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__concepts/invocable.h:13: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/invoke.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/apply_cv.h:16: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/remove_reference.h:13: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstddef:50:9: error: no member named 'nullptr_t' in the global namespace | |
using ::nullptr_t; | |
~~^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Fs.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Fs.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:163: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__concepts/invocable.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:452: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_compound.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_fundamental.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: template argument for template type parameter must be a type | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here | |
template <class _Tp> struct __is_nullptr_t_impl : public false_type {}; | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Fs.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Fs.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:165: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: template argument for template type parameter must be a type | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:638:17: note: template parameter is declared here | |
template <class _Tp> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
: public __unary_function<nullptr_t, size_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: template argument for template type parameter must be a type | |
: public __unary_function<nullptr_t, size_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/unary_function.h:45:17: note: template parameter is declared here | |
template <class _Arg, class _Result> | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Fs.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Fs.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:175: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/new:94: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:45: error: field has incomplete type 'std::exception_ptr' | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:144:24: note: definition of 'std::exception_ptr' is not complete until the closing '}' | |
class _LIBCPP_TYPE_VIS exception_ptr | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:652:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY' | |
# define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:636:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' | |
__attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER)))) | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Fs.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Fs.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:175: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/new:94: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:55: error: expected ';' at end of declaration list | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Fs.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Fs.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:181: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/atomic:538: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/chrono:698: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__chrono/day.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/compare:145: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/compare_partial_order_fallback.h:13: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/partial_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/weak_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/strong_order.h:18: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:544:5: error: use of undeclared identifier '__promote' | |
__promote<_A1, _A2, _A3> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:548:22: error: no template named '__promote' | |
typedef typename __promote<_A1, _A2, _A3>::type __result_type; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:552:12: error: call to 'hypot' is ambiguous | |
return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z); | |
^~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:533:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY float hypot( float __x, float __y, float __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:534:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY double hypot( double __x, double __y, double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:535:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double __x, long double __y, long double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Fs.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Fs.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:187: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Fs.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Fs.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:187: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:42: error: expected ';' at end of declaration list | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:262:25: error: unknown type name 'nullptr_t' | |
unique_ptr& operator=(nullptr_t) _NOEXCEPT { | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Fs.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Fs.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/optional:187: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
[7/954] Building CXX object velox/common/base/CMakeFiles/velox_common_base.dir/BitUtil.cpp.o | |
FAILED: velox/common/base/CMakeFiles/velox_common_base.dir/BitUtil.cpp.o | |
ccache /opt/homebrew/opt/llvm/bin/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DGFLAGS_IS_A_DLL=0 -I/opt/homebrew/opt/icu4c/include -I/Users/dofu/git/velox/. -I/Users/dofu/git/velox/velox/external/xxhash -I/Users/dofu/git/velox/third_party/xsimd/include -isystem /opt/homebrew/include -isystem /Users/dofu/git/velox/velox -isystem /Users/dofu/git/velox/velox/external -isystem /Users/dofu/git/velox/velox/external/duckdb -isystem /Users/dofu/git/velox/velox/external/duckdb/tpch/dbgen/include -isystem /usr/local/include -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -isystem /opt/homebrew/opt/[email protected]/include -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -fvisibility=hidden -fvisibility-inlines-hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Werror -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-sign-compare -Wno-ignored-qualifiers -Wno-range-loop-analysis -Wno-mismatched-tags -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode_14.1.0_14B47b_fb.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk -mmacosx-version-min=12.6 -fPIC -std=gnu++17 -MD -MT velox/common/base/CMakeFiles/velox_common_base.dir/BitUtil.cpp.o -MF velox/common/base/CMakeFiles/velox_common_base.dir/BitUtil.cpp.o.d -o velox/common/base/CMakeFiles/velox_common_base.dir/BitUtil.cpp.o -c /Users/dofu/git/velox/velox/common/base/BitUtil.cpp | |
In file included from /Users/dofu/git/velox/velox/common/base/BitUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/BitUtil.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1709: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__debug:15: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstddef:50:9: error: no member named 'nullptr_t' in the global namespace | |
using ::nullptr_t; | |
~~^ | |
In file included from /Users/dofu/git/velox/velox/common/base/BitUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/BitUtil.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1709: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__debug:16: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:452: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_compound.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_fundamental.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: template argument for template type parameter must be a type | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here | |
template <class _Tp> struct __is_nullptr_t_impl : public false_type {}; | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/BitUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/BitUtil.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1712: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:848: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/allocator.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/new:94: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:45: error: field has incomplete type 'std::exception_ptr' | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:144:24: note: definition of 'std::exception_ptr' is not complete until the closing '}' | |
class _LIBCPP_TYPE_VIS exception_ptr | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:652:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY' | |
# define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:636:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' | |
__attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER)))) | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/BitUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/BitUtil.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1712: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:848: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/allocator.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/new:94: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:55: error: expected ';' at end of declaration list | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/BitUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/BitUtil.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1712: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:853: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/compressed_pair.h:16: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/tuple:227: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/utility:251: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/compare:145: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/compare_partial_order_fallback.h:13: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/partial_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/weak_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/strong_order.h:18: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:544:5: error: use of undeclared identifier '__promote' | |
__promote<_A1, _A2, _A3> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:548:22: error: no template named '__promote' | |
typedef typename __promote<_A1, _A2, _A3>::type __result_type; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:552:12: error: call to 'hypot' is ambiguous | |
return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z); | |
^~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:533:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY float hypot( float __x, float __y, float __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:534:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY double hypot( double __x, double __y, double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:535:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double __x, long double __y, long double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/BitUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/BitUtil.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1712: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: template argument for template type parameter must be a type | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:638:17: note: template parameter is declared here | |
template <class _Tp> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
: public __unary_function<nullptr_t, size_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: template argument for template type parameter must be a type | |
: public __unary_function<nullptr_t, size_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/unary_function.h:45:17: note: template parameter is declared here | |
template <class _Arg, class _Result> | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/BitUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/BitUtil.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1712: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/BitUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/BitUtil.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1712: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:42: error: expected ';' at end of declaration list | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:262:25: error: unknown type name 'nullptr_t' | |
unique_ptr& operator=(nullptr_t) _NOEXCEPT { | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/BitUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/BitUtil.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1712: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
[8/954] Building CXX object velox/common/base/CMakeFiles/velox_exception.dir/Exceptions.cpp.o | |
FAILED: velox/common/base/CMakeFiles/velox_exception.dir/Exceptions.cpp.o | |
ccache /opt/homebrew/opt/llvm/bin/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DGFLAGS_IS_A_DLL=0 -I/opt/homebrew/opt/icu4c/include -I/Users/dofu/git/velox/. -I/Users/dofu/git/velox/velox/external/xxhash -isystem /opt/homebrew/include -isystem /Users/dofu/git/velox/velox -isystem /Users/dofu/git/velox/velox/external -isystem /Users/dofu/git/velox/velox/external/duckdb -isystem /Users/dofu/git/velox/velox/external/duckdb/tpch/dbgen/include -isystem /usr/local/include -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -isystem /opt/homebrew/opt/[email protected]/include -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -fvisibility=hidden -fvisibility-inlines-hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Werror -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-sign-compare -Wno-ignored-qualifiers -Wno-range-loop-analysis -Wno-mismatched-tags -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode_14.1.0_14B47b_fb.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk -mmacosx-version-min=12.6 -fPIC -std=gnu++17 -MD -MT velox/common/base/CMakeFiles/velox_exception.dir/Exceptions.cpp.o -MF velox/common/base/CMakeFiles/velox_exception.dir/Exceptions.cpp.o.d -o velox/common/base/CMakeFiles/velox_exception.dir/Exceptions.cpp.o -c /Users/dofu/git/velox/velox/common/base/Exceptions.cpp | |
In file included from /Users/dofu/git/velox/velox/common/base/Exceptions.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Exceptions.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:841: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__algorithm/copy.h:12: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__algorithm/unwrap_iter.h:13: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/iterator_traits.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/incrementable_traits.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/concepts:133: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__concepts/arithmetic.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:421: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/invoke.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/apply_cv.h:16: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/remove_reference.h:13: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstddef:50:9: error: no member named 'nullptr_t' in the global namespace | |
using ::nullptr_t; | |
~~^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Exceptions.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Exceptions.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:841: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__algorithm/copy.h:12: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__algorithm/unwrap_iter.h:13: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/iterator_traits.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/incrementable_traits.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/concepts:133: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__concepts/arithmetic.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:452: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_compound.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_fundamental.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: template argument for template type parameter must be a type | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here | |
template <class _Tp> struct __is_nullptr_t_impl : public false_type {}; | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Exceptions.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Exceptions.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:848: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/allocator.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/new:94: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:45: error: field has incomplete type 'std::exception_ptr' | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:144:24: note: definition of 'std::exception_ptr' is not complete until the closing '}' | |
class _LIBCPP_TYPE_VIS exception_ptr | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:652:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY' | |
# define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:636:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' | |
__attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER)))) | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Exceptions.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Exceptions.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:848: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/allocator.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/new:94: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:55: error: expected ';' at end of declaration list | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Exceptions.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Exceptions.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:853: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/compressed_pair.h:16: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/tuple:227: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/utility:251: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/compare:145: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/compare_partial_order_fallback.h:13: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/partial_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/weak_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/strong_order.h:18: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:544:5: error: use of undeclared identifier '__promote' | |
__promote<_A1, _A2, _A3> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:548:22: error: no template named '__promote' | |
typedef typename __promote<_A1, _A2, _A3>::type __result_type; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:552:12: error: call to 'hypot' is ambiguous | |
return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z); | |
^~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:533:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY float hypot( float __x, float __y, float __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:534:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY double hypot( double __x, double __y, double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:535:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double __x, long double __y, long double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Exceptions.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Exceptions.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: template argument for template type parameter must be a type | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:638:17: note: template parameter is declared here | |
template <class _Tp> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
: public __unary_function<nullptr_t, size_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: template argument for template type parameter must be a type | |
: public __unary_function<nullptr_t, size_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/unary_function.h:45:17: note: template parameter is declared here | |
template <class _Arg, class _Result> | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Exceptions.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Exceptions.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Exceptions.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Exceptions.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:42: error: expected ';' at end of declaration list | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:262:25: error: unknown type name 'nullptr_t' | |
unique_ptr& operator=(nullptr_t) _NOEXCEPT { | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/Exceptions.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Exceptions.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
[9/954] Building CXX object velox/common/base/CMakeFiles/velox_exception.dir/VeloxException.cpp.o | |
FAILED: velox/common/base/CMakeFiles/velox_exception.dir/VeloxException.cpp.o | |
ccache /opt/homebrew/opt/llvm/bin/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DGFLAGS_IS_A_DLL=0 -I/opt/homebrew/opt/icu4c/include -I/Users/dofu/git/velox/. -I/Users/dofu/git/velox/velox/external/xxhash -isystem /opt/homebrew/include -isystem /Users/dofu/git/velox/velox -isystem /Users/dofu/git/velox/velox/external -isystem /Users/dofu/git/velox/velox/external/duckdb -isystem /Users/dofu/git/velox/velox/external/duckdb/tpch/dbgen/include -isystem /usr/local/include -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -isystem /opt/homebrew/opt/[email protected]/include -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -fvisibility=hidden -fvisibility-inlines-hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Werror -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-sign-compare -Wno-ignored-qualifiers -Wno-range-loop-analysis -Wno-mismatched-tags -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode_14.1.0_14B47b_fb.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk -mmacosx-version-min=12.6 -fPIC -std=gnu++17 -MD -MT velox/common/base/CMakeFiles/velox_exception.dir/VeloxException.cpp.o -MF velox/common/base/CMakeFiles/velox_exception.dir/VeloxException.cpp.o.d -o velox/common/base/CMakeFiles/velox_exception.dir/VeloxException.cpp.o -c /Users/dofu/git/velox/velox/common/base/VeloxException.cpp | |
In file included from /Users/dofu/git/velox/velox/common/base/VeloxException.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/VeloxException.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:83: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstddef:50:9: error: no member named 'nullptr_t' in the global namespace | |
using ::nullptr_t; | |
~~^ | |
In file included from /Users/dofu/git/velox/velox/common/base/VeloxException.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/VeloxException.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:85: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:452: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_compound.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_fundamental.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: template argument for template type parameter must be a type | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here | |
template <class _Tp> struct __is_nullptr_t_impl : public false_type {}; | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/VeloxException.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/VeloxException.h:19: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:45: error: field has incomplete type 'std::exception_ptr' | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:144:24: note: definition of 'std::exception_ptr' is not complete until the closing '}' | |
class _LIBCPP_TYPE_VIS exception_ptr | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:652:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY' | |
# define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:636:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' | |
__attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER)))) | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/VeloxException.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/VeloxException.h:19: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:55: error: expected ';' at end of declaration list | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/VeloxException.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/VeloxException.h:20: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:527: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: template argument for template type parameter must be a type | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:638:17: note: template parameter is declared here | |
template <class _Tp> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
: public __unary_function<nullptr_t, size_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: template argument for template type parameter must be a type | |
: public __unary_function<nullptr_t, size_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/unary_function.h:45:17: note: template parameter is declared here | |
template <class _Arg, class _Result> | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/VeloxException.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/VeloxException.h:20: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:853: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/compressed_pair.h:16: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/tuple:227: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/utility:251: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/compare:145: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/compare_partial_order_fallback.h:13: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/partial_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/weak_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/strong_order.h:18: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:544:5: error: use of undeclared identifier '__promote' | |
__promote<_A1, _A2, _A3> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:548:22: error: no template named '__promote' | |
typedef typename __promote<_A1, _A2, _A3>::type __result_type; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:552:12: error: call to 'hypot' is ambiguous | |
return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z); | |
^~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:533:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY float hypot( float __x, float __y, float __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:534:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY double hypot( double __x, double __y, double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:535:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double __x, long double __y, long double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/VeloxException.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/VeloxException.h:20: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/VeloxException.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/VeloxException.h:20: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:42: error: expected ';' at end of declaration list | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:262:25: error: unknown type name 'nullptr_t' | |
unique_ptr& operator=(nullptr_t) _NOEXCEPT { | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/VeloxException.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/VeloxException.h:20: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
[10/954] Building CXX object velox/common/base/CMakeFiles/velox_common_base.dir/RawVector.cpp.o | |
FAILED: velox/common/base/CMakeFiles/velox_common_base.dir/RawVector.cpp.o | |
ccache /opt/homebrew/opt/llvm/bin/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DGFLAGS_IS_A_DLL=0 -I/opt/homebrew/opt/icu4c/include -I/Users/dofu/git/velox/. -I/Users/dofu/git/velox/velox/external/xxhash -I/Users/dofu/git/velox/third_party/xsimd/include -isystem /opt/homebrew/include -isystem /Users/dofu/git/velox/velox -isystem /Users/dofu/git/velox/velox/external -isystem /Users/dofu/git/velox/velox/external/duckdb -isystem /Users/dofu/git/velox/velox/external/duckdb/tpch/dbgen/include -isystem /usr/local/include -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -isystem /opt/homebrew/opt/[email protected]/include -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -fvisibility=hidden -fvisibility-inlines-hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Werror -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-sign-compare -Wno-ignored-qualifiers -Wno-range-loop-analysis -Wno-mismatched-tags -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode_14.1.0_14B47b_fb.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk -mmacosx-version-min=12.6 -fPIC -std=gnu++17 -MD -MT velox/common/base/CMakeFiles/velox_common_base.dir/RawVector.cpp.o -MF velox/common/base/CMakeFiles/velox_common_base.dir/RawVector.cpp.o.d -o velox/common/base/CMakeFiles/velox_common_base.dir/RawVector.cpp.o -c /Users/dofu/git/velox/velox/common/base/RawVector.cpp | |
In file included from /Users/dofu/git/velox/velox/common/base/RawVector.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/RawVector.h:19: | |
In file included from /usr/local/include/folly/Range.h:22: | |
In file included from /usr/local/include/folly/Portability.h:19: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstddef:50:9: error: no member named 'nullptr_t' in the global namespace | |
using ::nullptr_t; | |
~~^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RawVector.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/RawVector.h:19: | |
In file included from /usr/local/include/folly/Range.h:25: | |
In file included from /usr/local/include/folly/lang/Exception.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:85: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:452: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_compound.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_fundamental.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: template argument for template type parameter must be a type | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here | |
template <class _Tp> struct __is_nullptr_t_impl : public false_type {}; | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RawVector.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/RawVector.h:19: | |
In file included from /usr/local/include/folly/Range.h:25: | |
In file included from /usr/local/include/folly/lang/Exception.h:19: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:45: error: field has incomplete type 'std::exception_ptr' | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:144:24: note: definition of 'std::exception_ptr' is not complete until the closing '}' | |
class _LIBCPP_TYPE_VIS exception_ptr | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:652:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY' | |
# define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:636:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' | |
__attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER)))) | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RawVector.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/RawVector.h:19: | |
In file included from /usr/local/include/folly/Range.h:25: | |
In file included from /usr/local/include/folly/lang/Exception.h:19: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:55: error: expected ';' at end of declaration list | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RawVector.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/RawVector.h:19: | |
In file included from /usr/local/include/folly/Range.h:25: | |
In file included from /usr/local/include/folly/lang/Exception.h:21: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/utility:251: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/compare:145: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/compare_partial_order_fallback.h:13: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/partial_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/weak_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/strong_order.h:18: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:544:5: error: use of undeclared identifier '__promote' | |
__promote<_A1, _A2, _A3> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:548:22: error: no template named '__promote' | |
typedef typename __promote<_A1, _A2, _A3>::type __result_type; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:552:12: error: call to 'hypot' is ambiguous | |
return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z); | |
^~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:533:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY float hypot( float __x, float __y, float __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:534:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY double hypot( double __x, double __y, double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:535:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double __x, long double __y, long double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RawVector.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/RawVector.h:19: | |
In file included from /usr/local/include/folly/Range.h:25: | |
In file included from /usr/local/include/folly/lang/Exception.h:26: | |
In file included from /usr/local/include/folly/Traits.h:21: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/functional:515: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:18: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: template argument for template type parameter must be a type | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:638:17: note: template parameter is declared here | |
template <class _Tp> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
: public __unary_function<nullptr_t, size_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: template argument for template type parameter must be a type | |
: public __unary_function<nullptr_t, size_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/unary_function.h:45:17: note: template parameter is declared here | |
template <class _Arg, class _Result> | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RawVector.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/RawVector.h:19: | |
In file included from /usr/local/include/folly/Range.h:25: | |
In file included from /usr/local/include/folly/lang/Exception.h:26: | |
In file included from /usr/local/include/folly/Traits.h:21: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/functional:515: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:22: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RawVector.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/RawVector.h:19: | |
In file included from /usr/local/include/folly/Range.h:25: | |
In file included from /usr/local/include/folly/lang/Exception.h:26: | |
In file included from /usr/local/include/folly/Traits.h:21: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/functional:515: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:22: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:42: error: expected ';' at end of declaration list | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:262:25: error: unknown type name 'nullptr_t' | |
unique_ptr& operator=(nullptr_t) _NOEXCEPT { | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RawVector.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/RawVector.h:19: | |
In file included from /usr/local/include/folly/Range.h:25: | |
In file included from /usr/local/include/folly/lang/Exception.h:26: | |
In file included from /usr/local/include/folly/Traits.h:21: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/functional:515: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/boyer_moore_searcher.h:22: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
[11/954] Building CXX object velox/common/base/CMakeFiles/velox_common_base.dir/RuntimeMetrics.cpp.o | |
FAILED: velox/common/base/CMakeFiles/velox_common_base.dir/RuntimeMetrics.cpp.o | |
ccache /opt/homebrew/opt/llvm/bin/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DGFLAGS_IS_A_DLL=0 -I/opt/homebrew/opt/icu4c/include -I/Users/dofu/git/velox/. -I/Users/dofu/git/velox/velox/external/xxhash -I/Users/dofu/git/velox/third_party/xsimd/include -isystem /opt/homebrew/include -isystem /Users/dofu/git/velox/velox -isystem /Users/dofu/git/velox/velox/external -isystem /Users/dofu/git/velox/velox/external/duckdb -isystem /Users/dofu/git/velox/velox/external/duckdb/tpch/dbgen/include -isystem /usr/local/include -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -isystem /opt/homebrew/opt/[email protected]/include -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -fvisibility=hidden -fvisibility-inlines-hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Werror -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-sign-compare -Wno-ignored-qualifiers -Wno-range-loop-analysis -Wno-mismatched-tags -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode_14.1.0_14B47b_fb.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk -mmacosx-version-min=12.6 -fPIC -std=gnu++17 -MD -MT velox/common/base/CMakeFiles/velox_common_base.dir/RuntimeMetrics.cpp.o -MF velox/common/base/CMakeFiles/velox_common_base.dir/RuntimeMetrics.cpp.o.d -o velox/common/base/CMakeFiles/velox_common_base.dir/RuntimeMetrics.cpp.o -c /Users/dofu/git/velox/velox/common/base/RuntimeMetrics.cpp | |
In file included from /Users/dofu/git/velox/velox/common/base/RuntimeMetrics.cpp:17: | |
In file included from /usr/local/include/folly/ThreadLocal.h:43: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iterator:679: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__debug:15: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstddef:50:9: error: no member named 'nullptr_t' in the global namespace | |
using ::nullptr_t; | |
~~^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RuntimeMetrics.cpp:17: | |
In file included from /usr/local/include/folly/ThreadLocal.h:43: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iterator:679: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__debug:16: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:452: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_compound.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_fundamental.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: template argument for template type parameter must be a type | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here | |
template <class _Tp> struct __is_nullptr_t_impl : public false_type {}; | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RuntimeMetrics.cpp:17: | |
In file included from /usr/local/include/folly/ThreadLocal.h:43: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iterator:684: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/common_iterator.h:22: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/variant:205: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: template argument for template type parameter must be a type | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:638:17: note: template parameter is declared here | |
template <class _Tp> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
: public __unary_function<nullptr_t, size_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: template argument for template type parameter must be a type | |
: public __unary_function<nullptr_t, size_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/unary_function.h:45:17: note: template parameter is declared here | |
template <class _Arg, class _Result> | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RuntimeMetrics.cpp:17: | |
In file included from /usr/local/include/folly/ThreadLocal.h:43: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iterator:684: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/common_iterator.h:22: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/variant:214: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:45: error: field has incomplete type 'std::exception_ptr' | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:144:24: note: definition of 'std::exception_ptr' is not complete until the closing '}' | |
class _LIBCPP_TYPE_VIS exception_ptr | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:652:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY' | |
# define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:636:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' | |
__attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER)))) | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RuntimeMetrics.cpp:17: | |
In file included from /usr/local/include/folly/ThreadLocal.h:43: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iterator:684: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/common_iterator.h:22: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/variant:214: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:55: error: expected ';' at end of declaration list | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RuntimeMetrics.cpp:17: | |
In file included from /usr/local/include/folly/ThreadLocal.h:43: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iterator:684: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/common_iterator.h:22: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/variant:218: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/tuple:227: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/utility:251: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/compare:145: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/compare_partial_order_fallback.h:13: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/partial_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/weak_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/strong_order.h:18: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:544:5: error: use of undeclared identifier '__promote' | |
__promote<_A1, _A2, _A3> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:548:22: error: no template named '__promote' | |
typedef typename __promote<_A1, _A2, _A3>::type __result_type; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:552:12: error: call to 'hypot' is ambiguous | |
return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z); | |
^~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:533:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY float hypot( float __x, float __y, float __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:534:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY double hypot( double __x, double __y, double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:535:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double __x, long double __y, long double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RuntimeMetrics.cpp:17: | |
In file included from /usr/local/include/folly/ThreadLocal.h:44: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/thread:88: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__mutex_base:20: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/system_error:151: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RuntimeMetrics.cpp:17: | |
In file included from /usr/local/include/folly/ThreadLocal.h:44: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/thread:88: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__mutex_base:20: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/system_error:151: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:42: error: expected ';' at end of declaration list | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:262:25: error: unknown type name 'nullptr_t' | |
unique_ptr& operator=(nullptr_t) _NOEXCEPT { | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/RuntimeMetrics.cpp:17: | |
In file included from /usr/local/include/folly/ThreadLocal.h:44: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/thread:88: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__mutex_base:20: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/system_error:151: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
[12/954] Building CXX object velox/buffer/CMakeFiles/velox_buffer.dir/StringViewBufferHolder.cpp.o | |
FAILED: velox/buffer/CMakeFiles/velox_buffer.dir/StringViewBufferHolder.cpp.o | |
ccache /opt/homebrew/opt/llvm/bin/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DGFLAGS_IS_A_DLL=0 -I/opt/homebrew/opt/icu4c/include -I/Users/dofu/git/velox/. -I/Users/dofu/git/velox/velox/external/xxhash -I/Users/dofu/git/velox/third_party/xsimd/include -isystem /opt/homebrew/include -isystem /Users/dofu/git/velox/velox -isystem /Users/dofu/git/velox/velox/external -isystem /Users/dofu/git/velox/velox/external/duckdb -isystem /Users/dofu/git/velox/velox/external/duckdb/tpch/dbgen/include -isystem /usr/local/include -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -isystem /opt/homebrew/opt/[email protected]/include -isystem /Users/dofu/git/velox/third_party/googletest/googletest/include -isystem /Users/dofu/git/velox/third_party/googletest/googletest -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -fvisibility=hidden -fvisibility-inlines-hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Werror -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-sign-compare -Wno-ignored-qualifiers -Wno-range-loop-analysis -Wno-mismatched-tags -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode_14.1.0_14B47b_fb.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk -mmacosx-version-min=12.6 -fPIC -std=gnu++17 -MD -MT velox/buffer/CMakeFiles/velox_buffer.dir/StringViewBufferHolder.cpp.o -MF velox/buffer/CMakeFiles/velox_buffer.dir/StringViewBufferHolder.cpp.o.d -o velox/buffer/CMakeFiles/velox_buffer.dir/StringViewBufferHolder.cpp.o -c /Users/dofu/git/velox/velox/buffer/StringViewBufferHolder.cpp | |
In file included from /Users/dofu/git/velox/velox/buffer/StringViewBufferHolder.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/StringViewBufferHolder.h:19: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:163: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/iterator.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstddef:50:9: error: no member named 'nullptr_t' in the global namespace | |
using ::nullptr_t; | |
~~^ | |
In file included from /Users/dofu/git/velox/velox/buffer/StringViewBufferHolder.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/StringViewBufferHolder.h:19: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:163: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:16: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/iterator_traits.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/incrementable_traits.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/concepts:133: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__concepts/arithmetic.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:452: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_compound.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_fundamental.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: template argument for template type parameter must be a type | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here | |
template <class _Tp> struct __is_nullptr_t_impl : public false_type {}; | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/StringViewBufferHolder.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/StringViewBufferHolder.h:19: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:165: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/ostream:168: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:119: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: template argument for template type parameter must be a type | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:638:17: note: template parameter is declared here | |
template <class _Tp> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
: public __unary_function<nullptr_t, size_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: template argument for template type parameter must be a type | |
: public __unary_function<nullptr_t, size_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/unary_function.h:45:17: note: template parameter is declared here | |
template <class _Arg, class _Result> | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/StringViewBufferHolder.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/StringViewBufferHolder.h:19: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:165: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/ostream:168: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:123: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/stdexcept:47: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:45: error: field has incomplete type 'std::exception_ptr' | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:144:24: note: definition of 'std::exception_ptr' is not complete until the closing '}' | |
class _LIBCPP_TYPE_VIS exception_ptr | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:652:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY' | |
# define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:636:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' | |
__attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER)))) | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/StringViewBufferHolder.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/StringViewBufferHolder.h:19: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:165: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/ostream:168: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:123: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/stdexcept:47: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:55: error: expected ';' at end of declaration list | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/StringViewBufferHolder.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/StringViewBufferHolder.h:19: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:165: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/ostream:168: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:128: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:853: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/compressed_pair.h:16: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/tuple:227: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/utility:251: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/compare:145: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/compare_partial_order_fallback.h:13: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/partial_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/weak_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/strong_order.h:18: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:544:5: error: use of undeclared identifier '__promote' | |
__promote<_A1, _A2, _A3> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:548:22: error: no template named '__promote' | |
typedef typename __promote<_A1, _A2, _A3>::type __result_type; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:552:12: error: call to 'hypot' is ambiguous | |
return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z); | |
^~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:533:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY float hypot( float __x, float __y, float __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:534:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY double hypot( double __x, double __y, double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:535:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double __x, long double __y, long double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/StringViewBufferHolder.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/StringViewBufferHolder.h:19: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:165: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/ostream:168: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:128: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/StringViewBufferHolder.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/StringViewBufferHolder.h:19: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:165: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/ostream:168: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:128: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:42: error: expected ';' at end of declaration list | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:262:25: error: unknown type name 'nullptr_t' | |
unique_ptr& operator=(nullptr_t) _NOEXCEPT { | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/StringViewBufferHolder.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/StringViewBufferHolder.h:19: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:165: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/ostream:168: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:128: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
[13/954] Building CXX object velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o | |
FAILED: velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o | |
ccache /opt/homebrew/opt/llvm/bin/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DGFLAGS_IS_A_DLL=0 -I/opt/homebrew/opt/icu4c/include -I/Users/dofu/git/velox/. -I/Users/dofu/git/velox/velox/external/xxhash -I/Users/dofu/git/velox/third_party/xsimd/include -isystem /opt/homebrew/include -isystem /Users/dofu/git/velox/velox -isystem /Users/dofu/git/velox/velox/external -isystem /Users/dofu/git/velox/velox/external/duckdb -isystem /Users/dofu/git/velox/velox/external/duckdb/tpch/dbgen/include -isystem /usr/local/include -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -isystem /opt/homebrew/opt/[email protected]/include -isystem /Users/dofu/git/velox/third_party/googletest/googletest/include -isystem /Users/dofu/git/velox/third_party/googletest/googletest -isystem /Users/dofu/git/velox/third_party/googletest/googlemock/include -isystem /Users/dofu/git/velox/third_party/googletest/googlemock -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -fvisibility=hidden -fvisibility-inlines-hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Werror -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-sign-compare -Wno-ignored-qualifiers -Wno-range-loop-analysis -Wno-mismatched-tags -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode_14.1.0_14B47b_fb.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk -mmacosx-version-min=12.6 -fPIE -std=gnu++17 -MD -MT velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o -MF velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o.d -o velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/StringViewBufferHolderTest.cpp.o -c /Users/dofu/git/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp:17: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock.h:59: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock-actions.h:137: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1709: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__debug:15: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstddef:50:9: error: no member named 'nullptr_t' in the global namespace | |
using ::nullptr_t; | |
~~^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp:17: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock.h:59: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock-actions.h:137: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1709: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__debug:16: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:452: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_compound.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_fundamental.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: template argument for template type parameter must be a type | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here | |
template <class _Tp> struct __is_nullptr_t_impl : public false_type {}; | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp:17: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock.h:59: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock-actions.h:137: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1712: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:848: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/allocator.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/new:94: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:45: error: field has incomplete type 'std::exception_ptr' | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:144:24: note: definition of 'std::exception_ptr' is not complete until the closing '}' | |
class _LIBCPP_TYPE_VIS exception_ptr | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:652:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY' | |
# define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:636:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' | |
__attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER)))) | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp:17: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock.h:59: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock-actions.h:137: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1712: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:848: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/allocator.h:18: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/new:94: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:55: error: expected ';' at end of declaration list | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp:17: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock.h:59: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock-actions.h:137: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1712: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:853: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/compressed_pair.h:16: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/tuple:227: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/utility:251: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/compare:145: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/compare_partial_order_fallback.h:13: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/partial_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/weak_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/strong_order.h:18: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:544:5: error: use of undeclared identifier '__promote' | |
__promote<_A1, _A2, _A3> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:548:22: error: no template named '__promote' | |
typedef typename __promote<_A1, _A2, _A3>::type __result_type; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:552:12: error: call to 'hypot' is ambiguous | |
return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z); | |
^~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:533:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY float hypot( float __x, float __y, float __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:534:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY double hypot( double __x, double __y, double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:535:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double __x, long double __y, long double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp:17: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock.h:59: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock-actions.h:137: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1712: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: template argument for template type parameter must be a type | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:638:17: note: template parameter is declared here | |
template <class _Tp> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
: public __unary_function<nullptr_t, size_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: template argument for template type parameter must be a type | |
: public __unary_function<nullptr_t, size_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/unary_function.h:45:17: note: template parameter is declared here | |
template <class _Arg, class _Result> | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp:17: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock.h:59: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock-actions.h:137: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1712: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp:17: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock.h:59: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock-actions.h:137: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1712: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:42: error: expected ';' at end of declaration list | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:262:25: error: unknown type name 'nullptr_t' | |
unique_ptr& operator=(nullptr_t) _NOEXCEPT { | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/StringViewBufferHolderTest.cpp:17: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock.h:59: | |
In file included from /Users/dofu/git/velox/third_party/googletest/googlemock/include/gmock/gmock-actions.h:137: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/algorithm:1712: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
[14/954] Building CXX object velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/BufferTest.cpp.o | |
FAILED: velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/BufferTest.cpp.o | |
ccache /opt/homebrew/opt/llvm/bin/clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DGFLAGS_IS_A_DLL=0 -I/opt/homebrew/opt/icu4c/include -I/Users/dofu/git/velox/. -I/Users/dofu/git/velox/velox/external/xxhash -I/Users/dofu/git/velox/third_party/xsimd/include -isystem /opt/homebrew/include -isystem /Users/dofu/git/velox/velox -isystem /Users/dofu/git/velox/velox/external -isystem /Users/dofu/git/velox/velox/external/duckdb -isystem /Users/dofu/git/velox/velox/external/duckdb/tpch/dbgen/include -isystem /usr/local/include -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -isystem /opt/homebrew/opt/[email protected]/include -isystem /Users/dofu/git/velox/third_party/googletest/googletest/include -isystem /Users/dofu/git/velox/third_party/googletest/googletest -isystem /Users/dofu/git/velox/third_party/googletest/googlemock/include -isystem /Users/dofu/git/velox/third_party/googletest/googlemock -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -fvisibility=hidden -fvisibility-inlines-hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Werror -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-sign-compare -Wno-ignored-qualifiers -Wno-range-loop-analysis -Wno-mismatched-tags -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode_14.1.0_14B47b_fb.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk -mmacosx-version-min=12.6 -fPIE -std=gnu++17 -MD -MT velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/BufferTest.cpp.o -MF velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/BufferTest.cpp.o.d -o velox/buffer/tests/CMakeFiles/velox_buffer_test.dir/BufferTest.cpp.o -c /Users/dofu/git/velox/velox/buffer/tests/BufferTest.cpp | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/BufferTest.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:163: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/iterator.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstddef:50:9: error: no member named 'nullptr_t' in the global namespace | |
using ::nullptr_t; | |
~~^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/BufferTest.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:163: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/istreambuf_iterator.h:16: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/iterator_traits.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/incrementable_traits.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/concepts:133: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__concepts/arithmetic.h:15: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/type_traits:452: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_compound.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_fundamental.h:14: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:24:49: error: template argument for template type parameter must be a type | |
template <> struct __is_nullptr_t_impl<nullptr_t> : public true_type {}; | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__type_traits/is_null_pointer.h:23:17: note: template parameter is declared here | |
template <class _Tp> struct __is_nullptr_t_impl : public false_type {}; | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/BufferTest.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:165: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/ostream:168: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:119: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:646:34: error: template argument for template type parameter must be a type | |
struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:638:17: note: template parameter is declared here | |
template <class _Tp> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: use of undeclared identifier 'nullptr_t'; did you mean 'nullptr'? | |
: public __unary_function<nullptr_t, size_t> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/hash.h:647:29: error: template argument for template type parameter must be a type | |
: public __unary_function<nullptr_t, size_t> | |
^~~~~~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__functional/unary_function.h:45:17: note: template parameter is declared here | |
template <class _Arg, class _Result> | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/BufferTest.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:165: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/ostream:168: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:123: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/stdexcept:47: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:45: error: field has incomplete type 'std::exception_ptr' | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:144:24: note: definition of 'std::exception_ptr' is not complete until the closing '}' | |
class _LIBCPP_TYPE_VIS exception_ptr | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:5: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:652:37: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY' | |
# define _LIBCPP_INLINE_VISIBILITY _LIBCPP_HIDE_FROM_ABI | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:636:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' | |
__attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER)))) | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/BufferTest.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:165: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/ostream:168: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:123: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/stdexcept:47: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/exception:149:55: error: expected ';' at end of declaration list | |
_LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/BufferTest.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:165: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/ostream:168: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:128: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:853: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/compressed_pair.h:16: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/tuple:227: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/utility:251: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/compare:145: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/compare_partial_order_fallback.h:13: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/partial_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/weak_order.h:14: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__compare/strong_order.h:18: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:544:5: error: use of undeclared identifier '__promote' | |
__promote<_A1, _A2, _A3> | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:548:22: error: no template named '__promote' | |
typedef typename __promote<_A1, _A2, _A3>::type __result_type; | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:552:12: error: call to 'hypot' is ambiguous | |
return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z); | |
^~~~~ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:533:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY float hypot( float __x, float __y, float __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:534:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY double hypot( double __x, double __y, double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:535:46: note: candidate function | |
inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double __x, long double __y, long double __z ) { return sqrt(__x*__x + __y*__y + __z*__z); } | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/BufferTest.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:165: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/ostream:168: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:128: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/BufferTest.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:165: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/ostream:168: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:128: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:173:42: error: expected ';' at end of declaration list | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:262:25: error: unknown type name 'nullptr_t' | |
unique_ptr& operator=(nullptr_t) _NOEXCEPT { | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:3: error: non-static data member cannot be constexpr; did you intend to make it const? | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__config:691:31: note: expanded from macro '_LIBCPP_CONSTEXPR' | |
# define _LIBCPP_CONSTEXPR constexpr | |
^ | |
In file included from /Users/dofu/git/velox/velox/buffer/tests/BufferTest.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/buffer/Buffer.h:19: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/iomanip:47: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/istream:165: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/ostream:168: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:128: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/string:549: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/memory:860: | |
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/shared_ptr.h:28: | |
/opt/homebrew/opt/llvm/bin/../include/c++/v1/__memory/unique_ptr.h:395:32: error: member 'nullptr_t' declared as a template | |
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {} | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
ninja: build stopped: subcommand failed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment