On 08/08/2009 10:35 AM, Per Jessen wrote:
Dave Plater wrote:
On 08/07/2009 04:37 PM, Per Jessen wrote:
Dave Plater wrote:
So if I initialize m_float in btVector3.h where I think it is declared, do you think it will solve at least one of the problems?
Yes, that's what I was going to try. Probably in the default constructor.
/Per Jessen, Zürich
The author of the program has used m_float in more than one instance, I tried initializing the one in btVector3 and got a compiler error, tried initializing the one in btSolverbody.h and it didn't make any difference. I think I might have bitten off more than I can chew but thats the best way to learn.
I couldn't get it whole thing to build, I ended up getting linker errors with a ton of symbols not found.
In extern/bullet2/src/LinearMath/btVector3.h, try this: (line 65-66)
/**@brief No initialization constructor */ SIMD_FORCE_INLINE btVector3() { m_floats[0]=m_floats[1]=m_floats[2]=m_floats[3]=btScalar(0.); }
It compiles, but I don't know if it will solve the problem.
/Per Jessen, Zürich
I don't get the uninitialized variable warning in kdevelop3 at all for some reason, I'm using it to test build with all the flags setup the same as in the project spec file. For osc build I use quilt to patch. I will try your suggestion and report back. Regards Dave P -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org