Enable /WX, warning as error on Visual Studio

This commit is contained in:
Christophe Riccio
2017-08-17 19:51:03 +02:00
parent 23db2cd8b9
commit e9f210c85f
15 changed files with 192 additions and 178 deletions

View File

@@ -2,14 +2,16 @@
int test_epsilon()
{
int Error(0);
int Error = 0;
{
float Test = glm::epsilon<float>();
Error += Test > 0.0f ? 0 : 1;
}
{
double Test = glm::epsilon<double>();
Error += Test > 0.0 ? 0 : 1;
}
return Error;