mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Added a build failure when nullptr is defined as a macro (closes #1355)
This commit is contained in:
		| @@ -1,6 +1,11 @@ | ||||
| ArduinoJson: change log | ||||
| ======================= | ||||
|  | ||||
| HEAD | ||||
| ---- | ||||
|  | ||||
| * Added a build failure when nullptr is defined as a macro (issue #1355) | ||||
|  | ||||
| v6.16.1 (2020-08-04) | ||||
| ------- | ||||
|  | ||||
|   | ||||
| @@ -230,3 +230,8 @@ | ||||
| #define ARDUINOJSON_DEBUG 0 | ||||
| #endif | ||||
| #endif | ||||
|  | ||||
| #if ARDUINOJSON_HAS_NULLPTR && defined(nullptr) | ||||
| #error nullptr is defined as a macro. Remove the faulty #define or #undef nullptr | ||||
| // See https://github.com/bblanchon/ArduinoJson/issues/1355 | ||||
| #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user