On 2026-05-10 14:23, Bruno Haible wrote:
Assigning a 'char *' from a 'void *' still generates a diagnostic.
Is this because we might be using ancient C compilers, or something like that? Because of course it's OK to assign char * to void * in C.
There are other places in Gnulib where we assign char * to void * without a cast. If there's a reason we need the cast with mmap, I'd like to add a comment as to why it's needed there even though it's not needed for standard C.
