Patch for bfd/cache.c - explicit cast to void*
Sun Mar 1 23:13:00 GMT 2009
>>>>> "Jerker" == Jerker Bäck <firstname.lastname@example.org> writes:
Jerker> Some compilers refuse to compile the current source and emmits:
Jerker> error C2036: 'void *' : unknown size
gdb uses -Wpointer-arith when compiled with gcc; perhaps binutils
ought to do this as well.
Jerker> + chunk_nread = cache_bread_1 (abfd, (void*)((file_ptr)buf + nread), chunk_size);
I think just (char *) buf + nread would be more typical.
More information about the Binutils