On Sat, 08 Aug 2009 15:58:59 +0200, you wrote:
blender-2.49/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp Line 1836 = *poly_index_pt++ = *poly_index_pt++ = index[i]; Line 1783 = *poly_index_pt++ = *poly_index_pt++ = index[i];
I will revert back to the original.
no need for that :) AFAICT you just need to change both lines to *poly_index_pt = *(poly_index_pt+1) = index[i]; *poly_index_pt += 2; The compiler correctly complains because the outcome of the original operation is undefined as the compiler is free to choose the order in which to execute them as there are no sequence points which would order the operations. Therefore the programmer has to split such operations in a way that forces the compiler to do the operations exactly in the sequence the programmer had in mind. I've encountered such code more often then I would like but only after GCC began to complain about it. Philipp -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org