Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Benoît Blanchon
ArduinoJson
Merge requests
!1328
An error occurred while fetching the assigned milestone of the selected merge_request.
Suppress IAR compiler warning.
Code
Review changes
Check out branch
Download
Email patches
Plain diff
Closed
Administrator
requested to merge
github/fork/stawiski/iar-warning-suppress
into
6.x
4 years ago
Overview
3
Commits
1
Pipelines
0
Changes
1
Created by: stawiski
As in the title
0
0
Compare
6.x
6.x (base)
and
latest version
latest version
9b37990f
1 commit,
2 years ago
1 file
+
9
-
0
Expand all files
Preferences
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
src/ArduinoJson/Polyfills/type_traits/is_convertible.hpp
+
9
-
0
Options
View file @ 9b37990f
Show full file
@@ -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
Menu
Explore
Projects
Groups
Snippets