Update for C++17 and fix MSVC warnings (#1694)

* Update MSVC arguments
* Fix json allocator
* Fix simulation diamond
* Bump gtest
* Remove empty varargs in unit tests
* Replace test case with test suite
* Remove deprecation warning in optional
* Remove need for NOMIXMAX to be defined in wpilib headers
This commit is contained in:
Thad House
2019-05-31 13:43:32 -07:00
committed by Peter Johnson
parent fb1239a2ad
commit 221011494d
99 changed files with 534 additions and 398 deletions

View File

@@ -22,6 +22,12 @@
#include <iterator>
#include <system_error>
#ifdef _WIN32
// Disable iterator deprecation warning
#pragma warning(push)
#pragma warning(disable : 4996)
#endif
namespace wpi {
namespace sys {
namespace path {
@@ -460,4 +466,8 @@ std::error_code widenPath(const Twine &Path8, SmallVectorImpl<wchar_t> &Path16);
} // end namespace sys
} // end namespace wpi
#ifdef _WIN32
#pragma warning(pop)
#endif
#endif