10000 Marked ArduinoJson.h as a "system header" · joglosemarduino/ArduinoJson@136ee0d · GitHub
[go: up one dir, main page]

Skip to content

Commit 136ee0d

Browse files
committed
Marked ArduinoJson.h as a "system header"
1 parent 1ea8d92 commit 136ee0d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ HEAD
99
* Fixed warning "conversion may alter value" (issue #914)
1010
* Muted warning "will change in GCC 7.1" (issue #914)
1111
* Added a clear error message for `StaticJsonBuffer` and `DynamicJsonBuffer`
12+
* Marked ArduinoJson.h as a "system header"
1213

1314
v6.9.0 (2019-02-26)
1415
------

src/ArduinoJson.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
#pragma once
66

7+
#ifdef __clang__
8+
#pragma clang system_header
9+
#elif defined __GNUC__
10+
#pragma GCC system_header
11+
#endif
12+
713
#include "ArduinoJson/Namespace.hpp"
814

915
#include "ArduinoJson/Array/ArrayRef.hpp"

0 commit comments

Comments
 (0)
0