An elegant unit testing framework for C with support for mock objects.
Apache License 2.0
232
stars
55
forks
source link
unit_test/cmockalib/cmocka/include/cmocka.h:62:6: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] ((uintmax_t)(value)) #21
This error is due to the below line in cmocka.h file, / Perform an unsigned cast to uintmax_t. /
define cast_to_uintmax_type(value) \
Is there a patch to solve this build issue? This build issue comes when I tried to build cmockalib.