Skip to content

Commit

Permalink
Show a warning when ARDUINOJSON_ENABLE_STRING_DEDUPLICATION is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Aug 10, 2023
1 parent 305e80c commit ac9b74d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ArduinoJson/compatibility.hpp
Expand Up @@ -10,6 +10,10 @@
#error ARDUINOJSON_SLOT_OFFSET_SIZE has been removed, use ARDUINOJSON_SLOT_ID_SIZE instead
#endif

#ifdef ARDUINOJSON_ENABLE_STRING_DEDUPLICATION
#warning "ARDUINOJSON_ENABLE_STRING_DEDUPLICATION has been removed, string deduplication is now always enabled"
#endif

#ifdef __GNUC__

#define ARDUINOJSON_PRAGMA(x) _Pragma(#x)
Expand Down

0 comments on commit ac9b74d

Please sign in to comment.