Enable /WX, warning as error on Visual Studio
This commit is contained in:
@@ -106,13 +106,22 @@ namespace fmod_
|
||||
|
||||
int test_isdenormal()
|
||||
{
|
||||
int Error(0);
|
||||
int Error = 0;
|
||||
|
||||
bool A = glm::isdenormal(1.0f);
|
||||
Error += !A ? 0 : 1;
|
||||
|
||||
glm::bvec1 B = glm::isdenormal(glm::vec1(1.0f));
|
||||
Error += !glm::any(B) ? 0 : 1;
|
||||
|
||||
glm::bvec2 C = glm::isdenormal(glm::vec2(1.0f));
|
||||
Error += !glm::any(C) ? 0 : 1;
|
||||
|
||||
glm::bvec3 D = glm::isdenormal(glm::vec3(1.0f));
|
||||
Error += !glm::any(D) ? 0 : 1;
|
||||
|
||||
glm::bvec4 E = glm::isdenormal(glm::vec4(1.0f));
|
||||
Error += !glm::any(E) ? 0 : 1;
|
||||
|
||||
return Error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user