MSVC: Various fixes

* CMake
  * Compiler flags fixes
  * Don't strip
* Fix default template argument errors
* Fix VLAs. MSVC doesn't support C99, so Variable-Length-Arrays are not
  available. Use QVarLengthArray instead.
This commit is contained in:
Lukas W
2017-11-22 13:49:57 +01:00
parent 3d2062392d
commit 6224e5ed6b
8 changed files with 15 additions and 12 deletions

View File

@@ -96,7 +96,7 @@ struct typeInfo
template<>
inline float typeInfo<float>::minEps()
{
return 1.0e-10;
return 1.0e-10f;
}
template<>