mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
This option is not enabled by default because many existing tests use integer assertions to check the pointers: TEST_ASSERT_EQUAL(NULL, pointer) This causes a "cast from pointer to integer of different size" (-Wpointer-to-int-cast) warning to be generated, as Unity converts every argument to UNITY_UINT first, and with 64-bit support enabled, UNITY_UINT becomes a 64-bit unsigned type.