otree icon indicating copy to clipboard operation
otree copied to clipboard

Fix error: illegal arithmetic on a pointer to void in binary '+'

Open pointhi opened this issue 7 years ago • 0 comments

It is not allowed to do arithmentic on void pointers. Although it is possible on some compilers, this is no official C-behaviour because void is an incomplete object type:

See: https://stackoverflow.com/questions/3523145/pointer-arithmetic-for-void-pointer-in-c

pointhi avatar Oct 05 '18 07:10 pointhi