From 9f7e81cec2f75d4f30f9cb1dd73ec6841ef69dac Mon Sep 17 00:00:00 2001 From: Drake Arconis Date: Tue, 8 Jan 2013 06:17:39 -0500 Subject: [PATCH] Alt Compiler fixes --- indra/llcommon/llhash.h | 2 +- indra/llcommon/llprocessor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/llcommon/llhash.h b/indra/llcommon/llhash.h index c0a8bff66..5737f22c4 100644 --- a/indra/llcommon/llhash.h +++ b/indra/llcommon/llhash.h @@ -39,7 +39,7 @@ #include #include #elif LL_DARWIN || LL_LINUX -#if GCC_VERSION >= 40300 || LL_ICC// gcc 4.3 or icc 11 and up +#if GCC_VERSION >= 40300 || LL_ICC || LL_CLANG// gcc 4.3 or icc 11 and up # include #elif GCC_VERSION >= 30400 // gcc 3.4 and up # include diff --git a/indra/llcommon/llprocessor.cpp b/indra/llcommon/llprocessor.cpp index 9532410b7..b05b525d0 100644 --- a/indra/llcommon/llprocessor.cpp +++ b/indra/llcommon/llprocessor.cpp @@ -794,7 +794,7 @@ private: LLPI_SET_INFO_INT(eModel, "model"); - S32 family; + S32 family = 0; if (!cpuinfo["cpu family"].empty() && LLStringUtil::convertToS32(cpuinfo["cpu family"], family)) {