More precise C++ features detection

This commit is contained in:
Christophe Riccio
2013-09-11 01:06:11 +02:00
parent 5c84e480bf
commit 08ada74f36
7 changed files with 56 additions and 20 deletions

View File

@@ -96,7 +96,7 @@ namespace gli
};
return Desc[Format];
};
}
inline image2D::size_type sizeBlock
(

View File

@@ -11,7 +11,7 @@
#include <glm/gtc/random.hpp>
#include <glm/gtc/epsilon.hpp>
#include <iostream>
#if((GLM_LANG & GLM_LANG_CXX0X) == GLM_LANG_CXX0X)
#if(GLM_LANG & GLM_LANG_CXX0X_FLAG)
# include <array>
#endif
@@ -139,7 +139,7 @@ int test_ballRand()
return Error;
}
/*
#if((GLM_LANG & GLM_LANG_CXX0X) == GLM_LANG_CXX0X)
#if(GLM_LANG & GLM_LANG_CXX0X_FLAG)
int test_grid()
{
int Error = 0;
@@ -189,7 +189,7 @@ int main()
Error += test_diskRand();
Error += test_ballRand();
/*
#if((GLM_LANG & GLM_LANG_CXX0X) == GLM_LANG_CXX0X)
#if(GLM_LANG & GLM_LANG_CXX0X_FLAG)
Error += test_grid();
#endif
*/