-
Notifications
You must be signed in to change notification settings - Fork 185
Open
Description
line here should set C++ standard to 14 instead of 11
oidn/cmake/oidn_platform.cmake
Line 31 in 24baabd
| set(CMAKE_CXX_STANDARD 11) |
otherwise the CUDA build fails with
/nix/store/il0r2x1l03qjda9nxva18c1mjsqggcn9-gcc-14-20241116/include/c++/14-20241116/type_traits(1610): error: "__is_nothrow_new_constructible" is not a function or static data member
constexpr bool __is_nothrow_new_constructible
^
/nix/store/il0r2x1l03qjda9nxva18c1mjsqggcn9-gcc-14-20241116/include/c++/14-20241116/type_traits(1610): error: "constexpr" is not valid here
constexpr bool __is_nothrow_new_constructible
^
/nix/store/il0r2x1l03qjda9nxva18c1mjsqggcn9-gcc-14-20241116/include/c++/14-20241116/type_traits(1610): error: "__is_nothrow_new_constructible" is not a function or static data member
constexpr bool __is_nothrow_new_constructible
^
/nix/store/il0r2x1l03qjda9nxva18c1mjsqggcn9-gcc-14-20241116/include/c++/14-20241116/type_traits(1610): error: "constexpr" is not valid here
constexpr bool __is_nothrow_new_constructible
^
/nix/store/il0r2x1l03qjda9nxva18c1mjsqggcn9-gcc-14-20241116/include/c++/14-20241116/bits/new_allocator.h(190): error: identifier "__is_nothrow_new_constructible" is undefined
noexcept(__is_nothrow_new_constructible<_Up, _Args...>)
^
/nix/store/il0r2x1l03qjda9nxva18c1mjsqggcn9-gcc-14-20241116/include/c++/14-20241116/bits/new_allocator.h(190): error: type name is not allowed
noexcept(__is_nothrow_new_constructible<_Up, _Args...>)
^
/nix/store/il0r2x1l03qjda9nxva18c1mjsqggcn9-gcc-14-20241116/include/c++/14-20241116/bits/new_allocator.h(190): error: expected a ")"
noexcept(__is_nothrow_new_constructible<_Up, _Args...>)
^
/nix/store/il0r2x1l03qjda9nxva18c1mjsqggcn9-gcc-14-20241116/include/c++/14-20241116/bits/alloc_traits.h(107): error: variable template "std::__allocator_traits_base::__has_construct_impl" is not a valid class member template
static constexpr bool __has_construct_impl = false;
^
/nix/store/il0r2x1l03qjda9nxva18c1mjsqggcn9-gcc-14-20241116/include/c++/14-20241116/bits/alloc_traits.h(110): error: __has_construct_impl is not a template
__has_construct_impl<_Alloc, _Tp,
^
/nix/store/il0r2x1l03qjda9nxva18c1mjsqggcn9-gcc-14-20241116/include/c++/14-20241116/bits/alloc_traits.h(110): error: variable template "std::__allocator_traits_base::_Args" is not a valid class member template
__has_construct_impl<_Alloc, _Tp,
^
/nix/store/il0r2x1l03qjda9nxva18c1mjsqggcn9-gcc-14-20241116/include/c++/14-20241116/bits/alloc_traits.h(115): error: variable template "std::__allocator_traits_base::__has_construct" is not a valid class member template
static constexpr bool __has_construct
^
Metadata
Metadata
Assignees
Labels
No labels