[Bf-committers] [Bf-blender-cvs] [b03e66e] master: Cycles: Implement unaligned nodes BVH builder
Shane Ambler
Develop at ShaneWare.Biz
Tue Jul 19 05:06:48 CEST 2016
On 08/07/2016 00:59, Sergey Sharybin wrote:
> Commit: b03e66e75fb79b503d48bc21dab0d67415516d4a
> Author: Sergey Sharybin
> Date: Thu Jul 7 12:18:57 2016 +0200
> Branches: master
> https://developer.blender.org/rBb03e66e75fb79b503d48bc21dab0d67415516d4a
>
> Cycles: Implement unaligned nodes BVH builder
For me this fails to compile using clang (gcc does compile)
previous commit 1a2012145d is OK
I am on FreeBSD 10.3 and have used clang 3.4 and 3.8
[ 9%] Built target bf_intern_itasc
[ 9%] Built target bf_intern_moto
[ 9%] Building CXX object
intern/cycles/bvh/CMakeFiles/cycles_bvh.dir/bvh_build.cpp.o
In file included from path_to/blender/intern/cycles/bvh/bvh_build.cpp:18:
In file included from path_to/blender/intern/cycles/bvh/./bvh_binning.h:21:
In file included from path_to/blender/intern/cycles/bvh/./bvh_params.h:21:
In file included from
path_to/blender/intern/cycles/bvh/../util/util_boundbox.h:24:
In file included from
path_to/blender/intern/cycles/bvh/../util/util_string.h:24:
In file included from
path_to/blender/intern/cycles/bvh/../util/util_vector.h:24:
/usr/include/c++/v1/vector:499:5: error: implicit instantiation of
undefined template '__static_assert_test<false>'
static_assert((is_same<typename allocator_type::value_type,
value_type>::value),
^
/usr/include/c++/v1/__config:555:35: note: expanded from macro
'static_assert'
typedef __static_assert_check<sizeof(__static_assert_test<(__b)>)> \
^
path_to/blender/intern/cycles/bvh/../util/util_vector.h:42:23: note: in
instantiation of template class 'std::__1::vector<ccl::BVHReference,
ccl::StackAllocator<256, int> >' requested here
class vector : public std::vector<value_type, allocator_type>
^
path_to/blender/intern/cycles/bvh/bvh_build.cpp:720:43: note: in
instantiation of template class 'ccl::vector<ccl::BVHReference,
ccl::StackAllocator<256, int> >' requested here
vector<BVHReference, LeafStackAllocator>
p_ref[PRIMITIVE_NUM_TOTAL];
^
/usr/include/c++/v1/__config:551:24: note: template is declared here
template <bool> struct __static_assert_test;
^
1 error generated.
*** [intern/cycles/bvh/CMakeFiles/cycles_bvh.dir/bvh_build.cpp.o] Error
code 1
More information about the Bf-committers
mailing list