Created
April 2, 2016 08:47
-
-
Save cessen/496fa51132325581c4d1112c9e878326 to your computer and use it in GitHub Desktop.
Warnings in appleseed master from g++ 5.2.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from /home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/bvh.h:36:0, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/curvetree.h:42, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/assemblytree.h:34, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/assemblytree.cpp:31: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/bvh/bvh_intersector.h: In member function ‘void foundation::bvh::Intersector<Tree, Visitor, Ray, StackSize, N>::intersect_no_motion(const Tree&, const RayType&, const RayInfoType&, Visitor&) const [with Tree = renderer::CurveTree; Visitor = renderer::CurveLeafVisitor; Ray = foundation::Ray<float, 3ul>; long unsigned int StackSize = 64ul; long unsigned int N = 3ul; foundation::bvh::Intersector<Tree, Visitor, Ray, StackSize, N>::RayType = foundation::Ray<float, 3ul>; foundation::bvh::Intersector<Tree, Visitor, Ray, StackSize, N>::RayInfoType = foundation::RayInfo<float, 3ul>; typename Tree::NodeType = foundation::bvh::Node<foundation::AABB<float, 3ul> >; typename Tree::NodeType::ValueType = float]’: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/bvh/bvh_intersector.h:196:63: warning: ‘*((void*)& tmin +4)’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
const int far_index = tmin[0] < tmin[1] ? 1 : 0; | |
^ | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/bvh/bvh_intersector.h: In member function ‘void foundation::bvh::Intersector<Tree, Visitor, Ray, StackSize, N>::intersect_no_motion(const Tree&, const RayType&, const RayInfoType&, Visitor&) const [with Tree = renderer::CurveTree; Visitor = renderer::CurveLeafProbeVisitor; Ray = foundation::Ray<float, 3ul>; long unsigned int StackSize = 64ul; long unsigned int N = 3ul; foundation::bvh::Intersector<Tree, Visitor, Ray, StackSize, N>::RayType = foundation::Ray<float, 3ul>; foundation::bvh::Intersector<Tree, Visitor, Ray, StackSize, N>::RayInfoType = foundation::RayInfo<float, 3ul>; typename Tree::NodeType = foundation::bvh::Node<foundation::AABB<float, 3ul> >; typename Tree::NodeType::ValueType = float]’: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/bvh/bvh_intersector.h:196:63: warning: ‘*((void*)& tmin +4)’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
In file included from /home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/bvh.h:36:0, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/curvetree.h:42, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/intersector.h:34, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/intersector.cpp:31: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/bvh/bvh_intersector.h: In member function ‘void foundation::bvh::Intersector<Tree, Visitor, Ray, StackSize, N>::intersect_no_motion(const Tree&, const RayType&, const RayInfoType&, Visitor&) const [with Tree = renderer::AssemblyTree; Visitor = renderer::AssemblyLeafVisitor; Ray = renderer::ShadingRay; long unsigned int StackSize = 64ul; long unsigned int N = 3ul; foundation::bvh::Intersector<Tree, Visitor, Ray, StackSize, N>::RayType = renderer::ShadingRay; foundation::bvh::Intersector<Tree, Visitor, Ray, StackSize, N>::RayInfoType = foundation::RayInfo<double, 3ul>; typename Tree::NodeType = foundation::bvh::Node<foundation::AABB<double, 3ul> >; typename Tree::NodeType::ValueType = double]’: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/bvh/bvh_intersector.h:196:63: warning: ‘*((void*)& tmin +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
const int far_index = tmin[0] < tmin[1] ? 1 : 0; | |
^ | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/bvh/bvh_intersector.h: In member function ‘void foundation::bvh::Intersector<Tree, Visitor, Ray, StackSize, N>::intersect_no_motion(const Tree&, const RayType&, const RayInfoType&, Visitor&) const [with Tree = renderer::AssemblyTree; Visitor = renderer::AssemblyLeafProbeVisitor; Ray = renderer::ShadingRay; long unsigned int StackSize = 64ul; long unsigned int N = 3ul; foundation::bvh::Intersector<Tree, Visitor, Ray, StackSize, N>::RayType = renderer::ShadingRay; foundation::bvh::Intersector<Tree, Visitor, Ray, StackSize, N>::RayInfoType = foundation::RayInfo<double, 3ul>; typename Tree::NodeType = foundation::bvh::Node<foundation::AABB<double, 3ul> >; typename Tree::NodeType::ValueType = double]’: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/bvh/bvh_intersector.h:196:63: warning: ‘*((void*)& tmin +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
In file included from /home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/qmc.h:34:0, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/sampling/qmcsamplingcontext.h:38, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/global/globaltypes.h:39, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.h:34, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.cpp:31: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/vector.h: In function ‘bool foundation::intersect(const foundation::AABB<T, 3ul>&, const foundation::Vector<T, 3ul>&, const foundation::Vector<T, 3ul>&, const foundation::Vector<T, 3ul>&) [with T = double]’: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/vector.h:546:9: warning: ‘*((void*)& pmax +16)’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
result[i] = lhs[i] - rhs[i]; | |
^ | |
In file included from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.cpp:37:0: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/intersection/aabbtriangle.h:360:24: note: ‘*((void*)& pmax +16)’ was declared here | |
Vector<T, 3> pmin, pmax; | |
^ | |
In file included from /home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/qmc.h:34:0, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/sampling/qmcsamplingcontext.h:38, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/global/globaltypes.h:39, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.h:34, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.cpp:31: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/vector.h:546:9: warning: ‘*((void*)& pmax +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
result[i] = lhs[i] - rhs[i]; | |
^ | |
In file included from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.cpp:37:0: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/intersection/aabbtriangle.h:360:24: note: ‘*((void*)& pmax +8)’ was declared here | |
Vector<T, 3> pmin, pmax; | |
^ | |
In file included from /home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/qmc.h:34:0, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/sampling/qmcsamplingcontext.h:38, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/global/globaltypes.h:39, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.h:34, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.cpp:31: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/vector.h:546:9: warning: ‘pmax’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
result[i] = lhs[i] - rhs[i]; | |
^ | |
In file included from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.cpp:37:0: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/intersection/aabbtriangle.h:360:24: note: ‘pmax’ was declared here | |
Vector<T, 3> pmin, pmax; | |
^ | |
In file included from /home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/qmc.h:34:0, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/sampling/qmcsamplingcontext.h:38, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/global/globaltypes.h:39, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.h:34, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.cpp:31: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/vector.h:546:9: warning: ‘*((void*)& pmin +16)’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
result[i] = lhs[i] - rhs[i]; | |
^ | |
In file included from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.cpp:37:0: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/intersection/aabbtriangle.h:360:18: note: ‘*((void*)& pmin +16)’ was declared here | |
Vector<T, 3> pmin, pmax; | |
^ | |
In file included from /home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/qmc.h:34:0, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/sampling/qmcsamplingcontext.h:38, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/global/globaltypes.h:39, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.h:34, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.cpp:31: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/vector.h:546:9: warning: ‘*((void*)& pmin +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
result[i] = lhs[i] - rhs[i]; | |
^ | |
In file included from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.cpp:37:0: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/intersection/aabbtriangle.h:360:18: note: ‘*((void*)& pmin +8)’ was declared here | |
Vector<T, 3> pmin, pmax; | |
^ | |
In file included from /home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/qmc.h:34:0, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/sampling/qmcsamplingcontext.h:38, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/global/globaltypes.h:39, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.h:34, | |
from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.cpp:31: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/vector.h:546:9: warning: ‘pmin’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
result[i] = lhs[i] - rhs[i]; | |
^ | |
In file included from /home/cessen/Projects/appleseed/appleseed/src/appleseed/renderer/kernel/intersection/triangleitemhandler.cpp:37:0: | |
/home/cessen/Projects/appleseed/appleseed/src/appleseed/foundation/math/intersection/aabbtriangle.h:360:18: note: ‘pmin’ was declared here | |
Vector<T, 3> pmin, pmax; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment