Put float GEL_SCALE = 1.0f; just after float pGravX, pGravY, pGravD;
And this problem is solved.
2. error C2036 in luaconsole.c
Modify all (void*) into (*), is the type of the variable following. For example, tempinteger = *((int*)(((void*)&parts[i])+offset)); is modified into tempinteger = *((int*)(((particle*)&parts[i])+offset));