Mailinglist Archive: opensuse-programming (31 mails)

< Previous Next >
Re: [opensuse-programming] What's the best way to cure uninitialized variables?
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Sat, 08 Aug 2009 16:56:04 +0200
  • Message-id: <h5k3m4$iku$1@xxxxxxxxxxxxxxxx>
Dave Plater wrote:

Thanks Philipp, I will try that but it seems Per's solution works on
the stable blender-2.49, it's completed building with only the last
unitialized variable left to sort out :-
W: blender uninitialized-variable
extern/bullet2/src/LinearMath/btAlignedObjectArray.h:224


This is a wild guess: in line 224, try this:

new ( &m_data[size()] ) T(_Val);


/Per Jessen, Zürich

--
To unsubscribe, e-mail: opensuse-programming+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-programming+help@xxxxxxxxxxxx

< Previous Next >