diff --git a/source/glest_game/graphics/renderer.cpp b/source/glest_game/graphics/renderer.cpp index 7e6337c25..78ee2a8c7 100644 --- a/source/glest_game/graphics/renderer.cpp +++ b/source/glest_game/graphics/renderer.cpp @@ -41,7 +41,7 @@ namespace Glest { namespace Game{ uint32 Renderer::SurfaceData::nextUniqueId = 1; bool Renderer::renderText3DEnabled = true; -const float SKIP_INTERPOLATION_DISTANCE = 20.0f; +//const float SKIP_INTERPOLATION_DISTANCE = 20.0f; const string DEFAULT_CHAR_FOR_WIDTH_CALC = "V"; enum PROJECTION_TO_INFINITY { diff --git a/source/shared_lib/sources/graphics/video_player.cpp b/source/shared_lib/sources/graphics/video_player.cpp index 5c8d65815..52a699061 100644 --- a/source/shared_lib/sources/graphics/video_player.cpp +++ b/source/shared_lib/sources/graphics/video_player.cpp @@ -69,7 +69,9 @@ std::string getRegKey(const std::string& location, const std::string& name){ #endif const string HTTP_PREFIX = "http"; +#ifdef HAS_LIBVLC const double MAX_VIDEO_START_MILLISECONDS = 10.0; +#endif class ctx { public: diff --git a/source/shared_lib/sources/streflop/libm/flt-32/e_log10f.cpp b/source/shared_lib/sources/streflop/libm/flt-32/e_log10f.cpp index 6f1ba56a8..057687b95 100644 --- a/source/shared_lib/sources/streflop/libm/flt-32/e_log10f.cpp +++ b/source/shared_lib/sources/streflop/libm/flt-32/e_log10f.cpp @@ -33,7 +33,7 @@ log10_2hi = 3.0102920532e-01f, /* 0x3e9a2080 */ log10_2lo = 7.9034151668e-07f; /* 0x355427db */ #ifdef __STDC__ -static const Simple zero = 0.0f; +//static const Simple zero = 0.0f; #else static Simple zero = 0.0f; #endif diff --git a/source/shared_lib/sources/streflop/libm/flt-32/s_cosf.cpp b/source/shared_lib/sources/streflop/libm/flt-32/s_cosf.cpp index 2ca15fba4..4b94f3d22 100644 --- a/source/shared_lib/sources/streflop/libm/flt-32/s_cosf.cpp +++ b/source/shared_lib/sources/streflop/libm/flt-32/s_cosf.cpp @@ -23,7 +23,7 @@ static char rcsid[] = "$NetBSD: s_cosf.c,v 1.4f 1995/05/10 20:47:03 jtc Exp $"; namespace streflop_libm { #ifdef __STDC__ -static const Simple one=1.0f; +//static const Simple one=1.0f; #else static Simple one=1.0f; #endif