Hey dude, before doing any risky solution I must suggest you the basic thing in this problem. The sizeof() method of the gcc will be help to get the size of the class or variable. Then I think you need to just retry this code. There might be possible that this will work and the problem is solved. The other way is to mention that both VC++ and GCC output. This will generate sizeof(Vector4) = 16 result. Then try this and see the result.
Bookmarks