On 08/12/2009 02:28 PM, Michal Marek wrote:
Dave Plater napsal(a):
On 08/12/2009 11:09 AM, Dominique Leuenberger wrote:
Are you refering to the initial checking of the result after the build was successful? Yes, there are many more checks run afterwards, called
brp-checks and rpmlint. Most of them are heuristic analysis of the built rpms and the compiler output. (especially the 'initialized variables' are just collected from the compiler log and raised as warnings so they are not just missed in the huge build logs.
Dominique
When I use rpmbuild to build the package, I don't get any "is used uninitialized" errors in the log but with osc build the errors are in the log. This is using the same package and spec file.
Do you refer to the actual compiler warnings or the error summary printed by the build script? Also, if you have an older gcc version in your system, it might simply miss some cases. Or simply paste here the exact messages you are getting with osc and missing with rpmbuild.
Michal
I am referring to the following message which doesn't appear either with rpmbuild or when compiling locally with -O2 -Wall and -Werror=uninitialized doesn't stop at all :- extern/bullet2/src/LinearMath/btAlignedObjectArray.h: In member function 'virtual void btOptimizedBvh::build(btStridingMeshInterface*, bool, const btVector3&, const btVector3&)::No deTriangleCallback::internalProcessTriangleIndex(btVector3*, int, int)': extern/bullet2/src/LinearMath/btAlignedObjectArray.h:224: warning: 'node.btOptimizedBvhNode::m_padding[4u]' is used uninitialized in this function extern/bullet2/src/BulletCollision/CollisionShapes/btOptimizedBvh.cpp:56: note: 'node.btOptimizedBvhNode::m_padding[4u]' was declared here extern/bullet2/src/LinearMath/btAlignedObjectArray.h:224: warning: 'node.btOptimizedBvhNode::m_padding[3u]' is used uninitialized in this function extern/bullet2/src/BulletCollision/CollisionShapes/btOptimizedBvh.cpp:56: note: 'node.btOptimizedBvhNode::m_padding[3u]' was declared here extern/bullet2/src/LinearMath/btAlignedObjectArray.h:224: warning: 'node.btOptimizedBvhNode::m_padding[2u]' is used uninitialized in this function extern/bullet2/src/BulletCollision/CollisionShapes/btOptimizedBvh.cpp:56: note: 'node.btOptimizedBvhNode::m_padding[2u]' was declared here extern/bullet2/src/LinearMath/btAlignedObjectArray.h:224: warning: 'node.btOptimizedBvhNode::m_padding[1u]' is used uninitialized in this function extern/bullet2/src/BulletCollision/CollisionShapes/btOptimizedBvh.cpp:56: note: 'node.btOptimizedBvhNode::m_padding[1u]' was declared here extern/bullet2/src/LinearMath/btAlignedObjectArray.h:224: warning: 'node.btOptimizedBvhNode::m_padding[0u]' is used uninitialized in this function extern/bullet2/src/BulletCollision/CollisionShapes/btOptimizedBvh.cpp:56: note: 'node.btOptimizedBvhNode::m_padding[0u]' was declared here Regards Dave P -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org