Drop support for C++98/C++03 (closes #1820)

This commit is contained in:
Benoit Blanchon
2023-02-10 09:36:18 +01:00
parent 91fe6dcae8
commit 407fc2cd45
4 changed files with 13 additions and 1 deletions

View File

@ -4,6 +4,10 @@
#pragma once
#if __cplusplus < 201103L && (!defined(_MSC_VER) || _MSC_VER < 1910)
# error ArduinoJson requires C++11 or newer. Configure your compiler for C++11 or downgrade ArduinoJson to 6.20.
#endif
#include "ArduinoJson/Configuration.hpp"
// Include Arduino.h before stdlib.h to avoid conflict with atexit()