Suppress IAR compiler warning.

This commit is contained in:
Mikolaj Stawiski authored and Benoit Blanchon committed 2020-07-28 10:12:41 +02:00
1 parent 144ff3b06e
commit 0c0bf80074
2 files changed
+10

No files matched your search

@@ -12,6 +12,11 @@
#pragma warning(disable : 4244)
#endif
#ifdef __ICCARM__
// Suppress IAR Compiler Warning[Pa093]: implicit conversion from floating point to integer
#pragma diag_suppress=Pa093
#endif
namespace ARDUINOJSON_NAMESPACE {
template <typename From, typename To>
@@ -32,3 +37,7 @@ struct is_convertible {
#ifdef _MSC_VER
#pragma warning(pop)
#endif
#ifdef __ICCARM__
#pragma diag_default=Pa093
#endif