Marked ArduinoJson.h as a "system header"

This commit is contained in:
Benoit Blanchon
2019-03-01 17:31:55 +01:00
parent 1ea8d92cc3
commit 136ee0d576
2 changed files with 7 additions and 0 deletions

View File

@ -9,6 +9,7 @@ HEAD
* Fixed warning "conversion may alter value" (issue #914) * Fixed warning "conversion may alter value" (issue #914)
* Muted warning "will change in GCC 7.1" (issue #914) * Muted warning "will change in GCC 7.1" (issue #914)
* Added a clear error message for `StaticJsonBuffer` and `DynamicJsonBuffer` * Added a clear error message for `StaticJsonBuffer` and `DynamicJsonBuffer`
* Marked ArduinoJson.h as a "system header"
v6.9.0 (2019-02-26) v6.9.0 (2019-02-26)
------ ------

View File

@ -4,6 +4,12 @@
#pragma once #pragma once
#ifdef __clang__
#pragma clang system_header
#elif defined __GNUC__
#pragma GCC system_header
#endif
#include "ArduinoJson/Namespace.hpp" #include "ArduinoJson/Namespace.hpp"
#include "ArduinoJson/Array/ArrayRef.hpp" #include "ArduinoJson/Array/ArrayRef.hpp"