Fixed warnings on MacOS X

This commit is contained in:
Christophe Riccio 2012-11-04 14:26:54 +01:00
parent 1ded040f23
commit 1dda2390e5
16 changed files with 2 additions and 30 deletions

View File

@ -26,8 +26,6 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#include "_vectorize.hpp"
namespace glm{
namespace detail
{

View File

@ -26,8 +26,6 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#include "_vectorize.hpp"
namespace glm
{
// pow

View File

@ -26,8 +26,6 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#include "_vectorize.hpp"
namespace glm
{
// length

View File

@ -26,7 +26,6 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#include "_vectorize.hpp"
#if(GLM_COMPILER & GLM_COMPILER_VC)
#include <intrin.h>
#pragma intrinsic(_BitScanReverse)
@ -589,7 +588,7 @@ namespace glm
{
GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'findMSB' only accept integer values");
if(Value == 0 || Value == -1)
if(Value == genIUType(0) || Value == genIUType(-1))
return -1;
else if(Value > 0)
{

View File

@ -26,8 +26,6 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#include "_vectorize.hpp"
namespace glm
{
// matrixCompMult

View File

@ -26,8 +26,6 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#include "_vectorize.hpp"
namespace glm
{
// radians

View File

@ -94,6 +94,7 @@
#endif//GLM_MESSAGE
#include "./core/_detail.hpp"
#include "./core/_vectorize.hpp"
#include "./core/type.hpp"
#include "./core/func_trigonometric.hpp"

View File

@ -28,7 +28,6 @@
#include <ctime>
#include <cassert>
#include "../core/_vectorize.hpp"
namespace glm{
namespace detail

View File

@ -26,8 +26,6 @@
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#include "../core/_vectorize.hpp"
namespace glm
{
// sec

View File

@ -7,9 +7,6 @@
// File : glm/gtx/bit.inl
///////////////////////////////////////////////////////////////////////////////////////////////////
#include "../core/_detail.hpp"
#include "../core/_vectorize.hpp"
namespace glm
{
template <typename genIType>

View File

@ -7,8 +7,6 @@
// File : glm/gtx/fast_exponential.inl
///////////////////////////////////////////////////////////////////////////////////////////////////
#include "../core/_vectorize.hpp"
namespace glm
{
// fastPow:

View File

@ -7,8 +7,6 @@
// File : glm/gtx/fast_square_root.inl
///////////////////////////////////////////////////////////////////////////////////////////////////
#include "../core/_vectorize.hpp"
namespace glm
{
// fastSqrt

View File

@ -7,8 +7,6 @@
// File : glm/gtx/fast_trigonometry.inl
///////////////////////////////////////////////////////////////////////////////////////////////////
#include "../core/_vectorize.hpp"
namespace glm
{
// sin

View File

@ -7,8 +7,6 @@
// File : glm/gtx/log_base.inl
///////////////////////////////////////////////////////////////////////////////////////////////////
#include "../core/_vectorize.hpp"
namespace glm
{
template <typename genType>

View File

@ -10,8 +10,6 @@
// - GLM core
///////////////////////////////////////////////////////////////////////////////////////////////////
#include "../core/_vectorize.hpp"
namespace glm
{
//////////////////////

View File

@ -33,8 +33,6 @@ namespace loader
std::string const & Filename
)
{
char const * File = Filename.c_str();
if(Filename.find(".dds") != std::string::npos)
saveDDS10(Image, Filename);
else if(Filename.find(".tga") != std::string::npos)