diff options
author | callum_linden <none@none> | 2014-10-17 16:20:36 -0700 |
---|---|---|
committer | callum_linden <none@none> | 2014-10-17 16:20:36 -0700 |
commit | d20c719f03939a0e0220429647f5964fe6c8aeb2 (patch) | |
tree | bd794c36c4e7c3681026971ef1f53a577176ac32 /indra | |
parent | 5bf9343a41ca41cc8da8f00902304b012c8db61b (diff) |
Update to build on Xcode 6.0: turn off warnings about unused functions from clang for tut package
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/llprimitive/llprimitive.cpp | 4 | ||||
-rwxr-xr-x | indra/test/llapp_tut.cpp | 4 | ||||
-rwxr-xr-x | indra/test/lltut.h | 5 |
3 files changed, 9 insertions, 4 deletions
diff --git a/indra/llprimitive/llprimitive.cpp b/indra/llprimitive/llprimitive.cpp index a505ea04a7..3bbc5d5571 100755 --- a/indra/llprimitive/llprimitive.cpp +++ b/indra/llprimitive/llprimitive.cpp @@ -107,8 +107,6 @@ const F32 FLEXIBLE_OBJECT_DEFAULT_LENGTH = 1.0f; const BOOL FLEXIBLE_OBJECT_DEFAULT_USING_COLLISION_SPHERE = FALSE; const BOOL FLEXIBLE_OBJECT_DEFAULT_RENDERING_COLLISION_SPHERE = FALSE; -const S32 MAX_FACE_BITS = 9; - const char *SCULPT_DEFAULT_TEXTURE = "be293869-d0d9-0a69-5989-ad27f1946fd4"; // old inverted texture: "7595d345-a24c-e7ef-f0bd-78793792133e"; // Texture rotations are sent over the wire as a S16. This is used to scale the actual float @@ -993,8 +991,6 @@ BOOL LLPrimitive::setMaterial(U8 material) } } -const F32 LL_MAX_SCALE_S = 100.0f; -const F32 LL_MAX_SCALE_T = 100.0f; S32 LLPrimitive::packTEField(U8 *cur_ptr, U8 *data_ptr, U8 data_size, U8 last_face_index, EMsgVariableType type) const { S32 face_index; diff --git a/indra/test/llapp_tut.cpp b/indra/test/llapp_tut.cpp index aa5c0672e6..5dad838a44 100755 --- a/indra/test/llapp_tut.cpp +++ b/indra/test/llapp_tut.cpp @@ -25,7 +25,11 @@ * $/LicenseInfo$ */ +// turn off warnings about unused functions from clang for tut package +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunused-function" #include <tut/tut.hpp> +#pragma clang diagnostic pop #include "linden_common.h" #include "llapp.h" diff --git a/indra/test/lltut.h b/indra/test/lltut.h index 243e869be7..5428be3719 100755 --- a/indra/test/lltut.h +++ b/indra/test/lltut.h @@ -31,7 +31,12 @@ #include "is_approx_equal_fraction.h" // instead of llmath.h +// turn off warnings about unused functions from clang for tut package +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunused-function" #include <tut/tut.hpp> +#pragma clang diagnostic pop + #include <cstring> class LLDate; |