-
Vladimír Čunát authored
The issue here is that `char *` is not allowed to alias with `anyType *`. With gcc-10 in Fedora this now started to cause real problems and loading stats module segfaulted. Actually I can't see in standard (C11 6.5 par.7) that using `void *` is guaranteed to be correct, but at least it seems fine with gcc, and e.g. some standard functions like posix_memalign() use it in the same "dangerous" way.
Vladimír Čunát authoredThe issue here is that `char *` is not allowed to alias with `anyType *`. With gcc-10 in Fedora this now started to cause real problems and loading stats module segfaulted. Actually I can't see in standard (C11 6.5 par.7) that using `void *` is guaranteed to be correct, but at least it seems fine with gcc, and e.g. some standard functions like posix_memalign() use it in the same "dangerous" way.
To find the state of this project's repository at the time of any of these versions, check out the tags.