summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorGraham Madarasz (Graham Linden) <graham@lindenlab.com>2013-03-12 04:51:52 -0700
committerGraham Madarasz (Graham Linden) <graham@lindenlab.com>2013-03-12 04:51:52 -0700
commit117ca53f099b6b2a3b22cf22065625c3fa26a1b1 (patch)
treeb8157616d16e68c2d35bf4795d5e05403a72a702 /indra
parent9a0f913e7089c9b2120856936bf47dcb8de9c6b1 (diff)
Add pragma warning disable for linux only to work-around spurious used before set warnings from GCC 4.3.4 on Vector4a with empty ctor
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llface.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index 86e5f20812..73ae3743fc 100755
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -53,6 +53,12 @@
#include "llviewershadermgr.h"
#include "llvoavatar.h"
+#if LL_LINUX
+// Work-around spurious used before init warning on Vector4a
+//
+#pragma GCC diagnostic ignored "-Wuninitialized"
+#endif
+
extern BOOL gGLDebugLoggingEnabled;
#define LL_MAX_INDICES_COUNT 1000000