summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Madarasz (Graham) <graham@lindenlab.com>2013-03-11 13:55:40 -0700
committerGraham Madarasz (Graham) <graham@lindenlab.com>2013-03-11 13:55:40 -0700
commit9a0f913e7089c9b2120856936bf47dcb8de9c6b1 (patch)
tree0eb9d943ba6df478ac03a320c99ae9e5023f072a
parent356d10e6a6cfea279228f371aed88aba73ed70dd (diff)
Work around bogus gcc 4.3.4 warning from alignment assert
-rw-r--r--indra/llmath/llvector4a.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llmath/llvector4a.h b/indra/llmath/llvector4a.h
index 0526793d3a..1a478bc8de 100644
--- a/indra/llmath/llvector4a.h
+++ b/indra/llmath/llvector4a.h
@@ -93,7 +93,11 @@ public:
LLVector4a()
{ //DO NOT INITIALIZE -- The overhead is completely unnecessary
+// This assert is causing spurious referenced before set warnings on GCC 4.3.4
+//
+#if !LL_LINUX
ll_assert_aligned(this,16);
+#endif
}
LLVector4a(F32 x, F32 y, F32 z, F32 w = 0.f)