Skip to content

Instantly share code, notes, and snippets.

@darrenfu
Created November 17, 2022 23:21
Show Gist options
  • Save darrenfu/c58aaffa042536d246b134ddaead2afd to your computer and use it in GitHub Desktop.
Save darrenfu/c58aaffa042536d246b134ddaead2afd to your computer and use it in GitHub Desktop.
cmake error
====================[ Clean | Debug ]===========================================
"/Users/dofu/Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/222.4345.21/CLion.app/Contents/bin/cmake/mac/bin/cmake" --build /Users/dofu/git/velox/cmake-build-debug --target clean -j 8
[1/1] Cleaning all built files...
Cleaning... 7 files.
Clean finished
====================[ Build | all | Debug ]=====================================
"/Users/dofu/Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/222.4345.21/CLion.app/Contents/bin/cmake/mac/bin/cmake" --build /Users/dofu/git/velox/cmake-build-debug --target all -j 8
[1/956] Building CXX object velox/dwio/type/fbhive/CMakeFiles/velox_dwio_type_fbhive.dir/HiveTypeSerializer.cpp.o
FAILED: velox/dwio/type/fbhive/CMakeFiles/velox_dwio_type_fbhive.dir/HiveTypeSerializer.cpp.o
/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 -g -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/dwio/type/fbhive/CMakeFiles/velox_dwio_type_fbhive.dir/HiveTypeSerializer.cpp.o -MF velox/dwio/type/fbhive/CMakeFiles/velox_dwio_type_fbhive.dir/HiveTypeSerializer.cpp.o.d -o velox/dwio/type/fbhive/CMakeFiles/velox_dwio_type_fbhive.dir/HiveTypeSerializer.cpp.o -c /Users/dofu/git/velox/velox/dwio/type/fbhive/HiveTypeSerializer.cpp
In file included from /Users/dofu/git/velox/velox/dwio/type/fbhive/HiveTypeSerializer.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeSerializer.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/dwio/type/fbhive/HiveTypeSerializer.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeSerializer.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/dwio/type/fbhive/HiveTypeSerializer.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeSerializer.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/dwio/type/fbhive/HiveTypeSerializer.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeSerializer.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/dwio/type/fbhive/HiveTypeSerializer.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeSerializer.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/dwio/type/fbhive/HiveTypeSerializer.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeSerializer.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/dwio/type/fbhive/HiveTypeSerializer.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeSerializer.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/dwio/type/fbhive/HiveTypeSerializer.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeSerializer.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/dwio/type/fbhive/HiveTypeSerializer.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeSerializer.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.
[2/956] Building CXX object velox/dwio/type/fbhive/CMakeFiles/velox_dwio_type_fbhive.dir/HiveTypeParser.cpp.o
FAILED: velox/dwio/type/fbhive/CMakeFiles/velox_dwio_type_fbhive.dir/HiveTypeParser.cpp.o
/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 -g -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/dwio/type/fbhive/CMakeFiles/velox_dwio_type_fbhive.dir/HiveTypeParser.cpp.o -MF velox/dwio/type/fbhive/CMakeFiles/velox_dwio_type_fbhive.dir/HiveTypeParser.cpp.o.d -o velox/dwio/type/fbhive/CMakeFiles/velox_dwio_type_fbhive.dir/HiveTypeParser.cpp.o -c /Users/dofu/git/velox/velox/dwio/type/fbhive/HiveTypeParser.cpp
In file included from /Users/dofu/git/velox/velox/dwio/type/fbhive/HiveTypeParser.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeParser.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/dwio/type/fbhive/HiveTypeParser.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeParser.h:21:
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/dwio/type/fbhive/HiveTypeParser.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeParser.h:21:
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/dwio/type/fbhive/HiveTypeParser.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeParser.h:21:
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/dwio/type/fbhive/HiveTypeParser.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeParser.h:21:
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/dwio/type/fbhive/HiveTypeParser.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeParser.h:21:
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/dwio/type/fbhive/HiveTypeParser.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeParser.h:21:
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/dwio/type/fbhive/HiveTypeParser.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeParser.h:21:
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/dwio/type/fbhive/HiveTypeParser.cpp:17:
In file included from /Users/dofu/git/velox/./velox/dwio/type/fbhive/HiveTypeParser.h:21:
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.
[3/956] Building CXX object velox/tpch/gen/CMakeFiles/velox_tpch_gen.dir/DBGenIterator.cpp.o
FAILED: velox/tpch/gen/CMakeFiles/velox_tpch_gen.dir/DBGenIterator.cpp.o
/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 -g -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/tpch/gen/CMakeFiles/velox_tpch_gen.dir/DBGenIterator.cpp.o -MF velox/tpch/gen/CMakeFiles/velox_tpch_gen.dir/DBGenIterator.cpp.o.d -o velox/tpch/gen/CMakeFiles/velox_tpch_gen.dir/DBGenIterator.cpp.o -c /Users/dofu/git/velox/velox/tpch/gen/DBGenIterator.cpp
In file included from /Users/dofu/git/velox/velox/tpch/gen/DBGenIterator.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/DBGenIterator.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/tpch/gen/DBGenIterator.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/DBGenIterator.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/tpch/gen/DBGenIterator.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/DBGenIterator.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/tpch/gen/DBGenIterator.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/DBGenIterator.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/tpch/gen/DBGenIterator.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/DBGenIterator.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/tpch/gen/DBGenIterator.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/DBGenIterator.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/tpch/gen/DBGenIterator.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/DBGenIterator.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/tpch/gen/DBGenIterator.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/DBGenIterator.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/tpch/gen/DBGenIterator.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/DBGenIterator.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.
[4/956] Building CXX object velox/dwio/type/fbhive/tests/CMakeFiles/velox_dwio_type_fbhive_test.dir/HiveTypeParserTests.cpp.o
FAILED: velox/dwio/type/fbhive/tests/CMakeFiles/velox_dwio_type_fbhive_test.dir/HiveTypeParserTests.cpp.o
/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 -g -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/dwio/type/fbhive/tests/CMakeFiles/velox_dwio_type_fbhive_test.dir/HiveTypeParserTests.cpp.o -MF velox/dwio/type/fbhive/tests/CMakeFiles/velox_dwio_type_fbhive_test.dir/HiveTypeParserTests.cpp.o.d -o velox/dwio/type/fbhive/tests/CMakeFiles/velox_dwio_type_fbhive_test.dir/HiveTypeParserTests.cpp.o -c /Users/dofu/git/velox/velox/dwio/type/fbhive/tests/HiveTypeParserTests.cpp
In file included from /Users/dofu/git/velox/velox/dwio/type/fbhive/tests/HiveTypeParserTests.cpp:17:
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/dwio/type/fbhive/tests/HiveTypeParserTests.cpp:17:
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/dwio/type/fbhive/tests/HiveTypeParserTests.cpp:17:
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/dwio/type/fbhive/tests/HiveTypeParserTests.cpp:17:
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/dwio/type/fbhive/tests/HiveTypeParserTests.cpp:17:
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/dwio/type/fbhive/tests/HiveTypeParserTests.cpp:17:
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/dwio/type/fbhive/tests/HiveTypeParserTests.cpp:17:
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/dwio/type/fbhive/tests/HiveTypeParserTests.cpp:17:
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/dwio/type/fbhive/tests/HiveTypeParserTests.cpp:17:
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.
[5/956] Building CXX object velox/functions/lib/CMakeFiles/velox_functions_util.dir/RowsTranslationUtil.cpp.o
FAILED: velox/functions/lib/CMakeFiles/velox_functions_util.dir/RowsTranslationUtil.cpp.o
/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 -g -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/functions/lib/CMakeFiles/velox_functions_util.dir/RowsTranslationUtil.cpp.o -MF velox/functions/lib/CMakeFiles/velox_functions_util.dir/RowsTranslationUtil.cpp.o.d -o velox/functions/lib/CMakeFiles/velox_functions_util.dir/RowsTranslationUtil.cpp.o -c /Users/dofu/git/velox/velox/functions/lib/RowsTranslationUtil.cpp
In file included from /Users/dofu/git/velox/velox/functions/lib/RowsTranslationUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/RowsTranslationUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/common/base/Nulls.h:21:
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/functions/lib/RowsTranslationUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/RowsTranslationUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/common/base/Nulls.h:21:
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/functions/lib/RowsTranslationUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/RowsTranslationUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/common/base/Nulls.h:21:
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/functions/lib/RowsTranslationUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/RowsTranslationUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/common/base/Nulls.h:21:
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/functions/lib/RowsTranslationUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/RowsTranslationUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/common/base/Nulls.h:21:
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/functions/lib/RowsTranslationUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/RowsTranslationUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/common/base/Nulls.h:21:
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/functions/lib/RowsTranslationUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/RowsTranslationUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/common/base/Nulls.h:21:
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/functions/lib/RowsTranslationUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/RowsTranslationUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/common/base/Nulls.h:21:
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/functions/lib/RowsTranslationUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/RowsTranslationUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/common/base/Nulls.h:21:
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.
[6/956] Building CXX object velox/tpch/gen/CMakeFiles/velox_tpch_gen.dir/TpchGen.cpp.o
FAILED: velox/tpch/gen/CMakeFiles/velox_tpch_gen.dir/TpchGen.cpp.o
/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 -g -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/tpch/gen/CMakeFiles/velox_tpch_gen.dir/TpchGen.cpp.o -MF velox/tpch/gen/CMakeFiles/velox_tpch_gen.dir/TpchGen.cpp.o.d -o velox/tpch/gen/CMakeFiles/velox_tpch_gen.dir/TpchGen.cpp.o -c /Users/dofu/git/velox/velox/tpch/gen/TpchGen.cpp
In file included from /Users/dofu/git/velox/velox/tpch/gen/TpchGen.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/TpchGen.h:19:
In file included from /Users/dofu/git/velox/./velox/common/memory/Memory.h:19:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/atomic:523:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__chrono/duration.h:14:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/limits:107:
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/tpch/gen/TpchGen.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/TpchGen.h:19:
In file included from /Users/dofu/git/velox/./velox/common/memory/Memory.h:19:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/atomic:523:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__chrono/duration.h:14:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/limits:107:
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/tpch/gen/TpchGen.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/TpchGen.h:19:
In file included from /Users/dofu/git/velox/./velox/common/memory/Memory.h:19:
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/tpch/gen/TpchGen.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/TpchGen.h:19:
In file included from /Users/dofu/git/velox/./velox/common/memory/Memory.h:22:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/list:194:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/next.h:15:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__iterator/advance.h:19:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__utility/unreachable.h:13:
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cstdlib:123:9: error: target of using declaration conflicts with declaration already in scope
using ::abs _LIBCPP_USING_IF_EXISTS;
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:132:6: note: target of using declaration
int abs(int) __pure2;
^
/opt/homebrew/opt/llvm/bin/../include/c++/v1/cmath:339:1: note: conflicting declaration
using ::abs _LIBCPP_USING_IF_EXISTS;
^
In file included from /Users/dofu/git/velox/velox/tpch/gen/TpchGen.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/TpchGen.h:19:
In file included from /Users/dofu/git/velox/./velox/common/memory/Memory.h:22:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/list:202:
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/tpch/gen/TpchGen.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/TpchGen.h:19:
In file included from /Users/dofu/git/velox/./velox/common/memory/Memory.h:22:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/list:202:
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/tpch/gen/TpchGen.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/TpchGen.h:19:
In file included from /Users/dofu/git/velox/./velox/common/memory/Memory.h:22:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/list:202:
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/tpch/gen/TpchGen.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/TpchGen.h:19:
In file included from /Users/dofu/git/velox/./velox/common/memory/Memory.h:22:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/list:202:
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/tpch/gen/TpchGen.cpp:17:
In file included from /Users/dofu/git/velox/./velox/tpch/gen/TpchGen.h:19:
In file included from /Users/dofu/git/velox/./velox/common/memory/Memory.h:22:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/list:202:
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
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[7/956] Building CXX object velox/functions/lib/CMakeFiles/velox_functions_util.dir/LambdaFunctionUtil.cpp.o
FAILED: velox/functions/lib/CMakeFiles/velox_functions_util.dir/LambdaFunctionUtil.cpp.o
/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 -g -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/functions/lib/CMakeFiles/velox_functions_util.dir/LambdaFunctionUtil.cpp.o -MF velox/functions/lib/CMakeFiles/velox_functions_util.dir/LambdaFunctionUtil.cpp.o.d -o velox/functions/lib/CMakeFiles/velox_functions_util.dir/LambdaFunctionUtil.cpp.o -c /Users/dofu/git/velox/velox/functions/lib/LambdaFunctionUtil.cpp
In file included from /Users/dofu/git/velox/velox/functions/lib/LambdaFunctionUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/LambdaFunctionUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/vector/ComplexVector.h:19:
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/functions/lib/LambdaFunctionUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/LambdaFunctionUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/vector/ComplexVector.h:19:
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/functions/lib/LambdaFunctionUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/LambdaFunctionUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/vector/ComplexVector.h:21:
In file included from /usr/local/include/folly/container/F14Map.h:32:
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/functions/lib/LambdaFunctionUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/LambdaFunctionUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/vector/ComplexVector.h:21:
In file included from /usr/local/include/folly/container/F14Map.h:32:
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/functions/lib/LambdaFunctionUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/LambdaFunctionUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/vector/ComplexVector.h:21:
In file included from /usr/local/include/folly/container/F14Map.h:33:
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/functions/lib/LambdaFunctionUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/LambdaFunctionUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/vector/ComplexVector.h:21:
In file included from /usr/local/include/folly/container/F14Map.h:35:
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/functions/lib/LambdaFunctionUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/LambdaFunctionUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/vector/ComplexVector.h:21:
In file included from /usr/local/include/folly/container/F14Map.h:35:
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/functions/lib/LambdaFunctionUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/LambdaFunctionUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/vector/ComplexVector.h:21:
In file included from /usr/local/include/folly/container/F14Map.h:35:
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/functions/lib/LambdaFunctionUtil.cpp:16:
In file included from /Users/dofu/git/velox/./velox/functions/lib/LambdaFunctionUtil.h:16:
In file included from /Users/dofu/git/velox/./velox/vector/ComplexVector.h:21:
In file included from /usr/local/include/folly/container/F14Map.h:35:
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.
[8/956] Building CXX object velox/tpch/gen/tests/CMakeFiles/velox_tpch_gen_test.dir/TpchGenTest.cpp.o
FAILED: velox/tpch/gen/tests/CMakeFiles/velox_tpch_gen_test.dir/TpchGenTest.cpp.o
/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 -g -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/tpch/gen/tests/CMakeFiles/velox_tpch_gen_test.dir/TpchGenTest.cpp.o -MF velox/tpch/gen/tests/CMakeFiles/velox_tpch_gen_test.dir/TpchGenTest.cpp.o.d -o velox/tpch/gen/tests/CMakeFiles/velox_tpch_gen_test.dir/TpchGenTest.cpp.o -c /Users/dofu/git/velox/velox/tpch/gen/tests/TpchGenTest.cpp
In file included from /Users/dofu/git/velox/velox/tpch/gen/tests/TpchGenTest.cpp:17:
In file included from /usr/local/include/folly/init/Init.h:18:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:115:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__algorithm/fill.h:12:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__algorithm/fill_n.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/tpch/gen/tests/TpchGenTest.cpp:17:
In file included from /usr/local/include/folly/init/Init.h:18:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/bitset:115:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__algorithm/fill.h:12:
In file included from /opt/homebrew/opt/llvm/bin/../include/c++/v1/__algorithm/fill_n.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/tpch/gen/tests/TpchGenTest.cpp:17:
In file included from /usr/local/include/folly/init/Init.h:18:
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/tpch/gen/tests/TpchGenTest.cpp:17:
In file included from /usr/local/include/folly/init/Init.h:18:
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/tpch/gen/tests/TpchGenTest.cpp:17:
In file included from /usr/local/include/folly/init/Init.h:18:
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/tpch/gen/tests/TpchGenTest.cpp:17:
In file included from /usr/local/include/folly/init/Init.h:18:
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/tpch/gen/tests/TpchGenTest.cpp:17:
In file included from /usr/local/include/folly/init/Init.h:18:
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/tpch/gen/tests/TpchGenTest.cpp:17:
In file included from /usr/local/include/folly/init/Init.h:18:
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/tpch/gen/tests/TpchGenTest.cpp:17:
In file included from /usr/local/include/folly/init/Init.h:18:
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