Explicit enforcement of alignment for all aligned types, including structures with aligned members. (Compiler handholding)

This commit is contained in:
Shyotl
2014-06-22 03:39:33 -05:00
parent 061178ad82
commit 7c073c1db7
18 changed files with 140 additions and 32 deletions

View File

@@ -40,6 +40,7 @@
/////////////////////////////
#include "llquaternion.h"
LL_ALIGN_PREFIX(16)
class LLQuaternion2
{
public:
@@ -100,8 +101,8 @@ public:
protected:
LLVector4a mQ;
LL_ALIGN_16(LLVector4a mQ);
};
} LL_ALIGN_POSTFIX(16);
#endif