Fixed warnings on MacOS X
This commit is contained in:
parent
1ded040f23
commit
1dda2390e5
@ -26,8 +26,6 @@
|
|||||||
/// @author Christophe Riccio
|
/// @author Christophe Riccio
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "_vectorize.hpp"
|
|
||||||
|
|
||||||
namespace glm{
|
namespace glm{
|
||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
/// @author Christophe Riccio
|
/// @author Christophe Riccio
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "_vectorize.hpp"
|
|
||||||
|
|
||||||
namespace glm
|
namespace glm
|
||||||
{
|
{
|
||||||
// pow
|
// pow
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
/// @author Christophe Riccio
|
/// @author Christophe Riccio
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "_vectorize.hpp"
|
|
||||||
|
|
||||||
namespace glm
|
namespace glm
|
||||||
{
|
{
|
||||||
// length
|
// length
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
/// @author Christophe Riccio
|
/// @author Christophe Riccio
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "_vectorize.hpp"
|
|
||||||
#if(GLM_COMPILER & GLM_COMPILER_VC)
|
#if(GLM_COMPILER & GLM_COMPILER_VC)
|
||||||
#include <intrin.h>
|
#include <intrin.h>
|
||||||
#pragma intrinsic(_BitScanReverse)
|
#pragma intrinsic(_BitScanReverse)
|
||||||
@ -589,7 +588,7 @@ namespace glm
|
|||||||
{
|
{
|
||||||
GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'findMSB' only accept integer values");
|
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;
|
return -1;
|
||||||
else if(Value > 0)
|
else if(Value > 0)
|
||||||
{
|
{
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
/// @author Christophe Riccio
|
/// @author Christophe Riccio
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "_vectorize.hpp"
|
|
||||||
|
|
||||||
namespace glm
|
namespace glm
|
||||||
{
|
{
|
||||||
// matrixCompMult
|
// matrixCompMult
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
/// @author Christophe Riccio
|
/// @author Christophe Riccio
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "_vectorize.hpp"
|
|
||||||
|
|
||||||
namespace glm
|
namespace glm
|
||||||
{
|
{
|
||||||
// radians
|
// radians
|
||||||
|
@ -94,6 +94,7 @@
|
|||||||
#endif//GLM_MESSAGE
|
#endif//GLM_MESSAGE
|
||||||
|
|
||||||
#include "./core/_detail.hpp"
|
#include "./core/_detail.hpp"
|
||||||
|
#include "./core/_vectorize.hpp"
|
||||||
#include "./core/type.hpp"
|
#include "./core/type.hpp"
|
||||||
|
|
||||||
#include "./core/func_trigonometric.hpp"
|
#include "./core/func_trigonometric.hpp"
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
|
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include "../core/_vectorize.hpp"
|
|
||||||
|
|
||||||
namespace glm{
|
namespace glm{
|
||||||
namespace detail
|
namespace detail
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
/// @author Christophe Riccio
|
/// @author Christophe Riccio
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "../core/_vectorize.hpp"
|
|
||||||
|
|
||||||
namespace glm
|
namespace glm
|
||||||
{
|
{
|
||||||
// sec
|
// sec
|
||||||
|
@ -7,9 +7,6 @@
|
|||||||
// File : glm/gtx/bit.inl
|
// File : glm/gtx/bit.inl
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "../core/_detail.hpp"
|
|
||||||
#include "../core/_vectorize.hpp"
|
|
||||||
|
|
||||||
namespace glm
|
namespace glm
|
||||||
{
|
{
|
||||||
template <typename genIType>
|
template <typename genIType>
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
// File : glm/gtx/fast_exponential.inl
|
// File : glm/gtx/fast_exponential.inl
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "../core/_vectorize.hpp"
|
|
||||||
|
|
||||||
namespace glm
|
namespace glm
|
||||||
{
|
{
|
||||||
// fastPow:
|
// fastPow:
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
// File : glm/gtx/fast_square_root.inl
|
// File : glm/gtx/fast_square_root.inl
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "../core/_vectorize.hpp"
|
|
||||||
|
|
||||||
namespace glm
|
namespace glm
|
||||||
{
|
{
|
||||||
// fastSqrt
|
// fastSqrt
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
// File : glm/gtx/fast_trigonometry.inl
|
// File : glm/gtx/fast_trigonometry.inl
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "../core/_vectorize.hpp"
|
|
||||||
|
|
||||||
namespace glm
|
namespace glm
|
||||||
{
|
{
|
||||||
// sin
|
// sin
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
// File : glm/gtx/log_base.inl
|
// File : glm/gtx/log_base.inl
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "../core/_vectorize.hpp"
|
|
||||||
|
|
||||||
namespace glm
|
namespace glm
|
||||||
{
|
{
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
|
@ -10,8 +10,6 @@
|
|||||||
// - GLM core
|
// - GLM core
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "../core/_vectorize.hpp"
|
|
||||||
|
|
||||||
namespace glm
|
namespace glm
|
||||||
{
|
{
|
||||||
//////////////////////
|
//////////////////////
|
||||||
|
2
test/external/gli/gtx/loader.inl
vendored
2
test/external/gli/gtx/loader.inl
vendored
@ -33,8 +33,6 @@ namespace loader
|
|||||||
std::string const & Filename
|
std::string const & Filename
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
char const * File = Filename.c_str();
|
|
||||||
|
|
||||||
if(Filename.find(".dds") != std::string::npos)
|
if(Filename.find(".dds") != std::string::npos)
|
||||||
saveDDS10(Image, Filename);
|
saveDDS10(Image, Filename);
|
||||||
else if(Filename.find(".tga") != std::string::npos)
|
else if(Filename.find(".tga") != std::string::npos)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user