Fixed warnings on MacOS X

master
Christophe Riccio ago%!(EXTRA string=13 years)
parent 1ded040f23
commit 1dda2390e5
  1. 2
      glm/core/func_common.inl
  2. 2
      glm/core/func_exponential.inl
  3. 2
      glm/core/func_geometric.inl
  4. 3
      glm/core/func_integer.inl
  5. 2
      glm/core/func_matrix.inl
  6. 2
      glm/core/func_trigonometric.inl
  7. 1
      glm/glm.hpp
  8. 1
      glm/gtc/random.inl
  9. 2
      glm/gtc/reciprocal.inl
  10. 3
      glm/gtx/bit.inl
  11. 2
      glm/gtx/fast_exponential.inl
  12. 2
      glm/gtx/fast_square_root.inl
  13. 2
      glm/gtx/fast_trigonometry.inl
  14. 2
      glm/gtx/log_base.inl
  15. 2
      glm/gtx/multiple.inl
  16. 2
      test/external/gli/gtx/loader.inl

@ -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
{ {
////////////////////// //////////////////////

@ -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…
Cancel
Save