Show a warning when ARDUINOJSON_ENABLE_STRING_DEDUPLICATION is defined

This commit is contained in:
Benoit Blanchon
2023-08-10 18:38:05 +02:00
parent 305e80c09d
commit ac9b74df65

View File

@ -10,6 +10,10 @@
#error ARDUINOJSON_SLOT_OFFSET_SIZE has been removed, use ARDUINOJSON_SLOT_ID_SIZE instead #error ARDUINOJSON_SLOT_OFFSET_SIZE has been removed, use ARDUINOJSON_SLOT_ID_SIZE instead
#endif #endif
#ifdef ARDUINOJSON_ENABLE_STRING_DEDUPLICATION
#warning "ARDUINOJSON_ENABLE_STRING_DEDUPLICATION has been removed, string deduplication is now always enabled"
#endif
#ifdef __GNUC__ #ifdef __GNUC__
#define ARDUINOJSON_PRAGMA(x) _Pragma(#x) #define ARDUINOJSON_PRAGMA(x) _Pragma(#x)