diff options
author | Graham Madarasz (Graham Linden) <graham@lindenlab.com> | 2013-03-12 04:51:52 -0700 |
---|---|---|
committer | Graham Madarasz (Graham Linden) <graham@lindenlab.com> | 2013-03-12 04:51:52 -0700 |
commit | 117ca53f099b6b2a3b22cf22065625c3fa26a1b1 (patch) | |
tree | b8157616d16e68c2d35bf4795d5e05403a72a702 /indra | |
parent | 9a0f913e7089c9b2120856936bf47dcb8de9c6b1 (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-x | indra/newview/llface.cpp | 6 |
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 |