bfd_get_filename
Tom Tromey
tom@tromey.com
Mon Sep 9 18:17:00 GMT 2019
>>>>> "Alan" == Alan Modra <amodra@gmail.com> writes:
Alan> This macro says:
Alan> /* Cast from const char * to char * so that caller can assign to
Alan> a char * without a warning. */
Alan> I reckon that isn't such a good idea since it can result in char*
Alan> variables where const char* is appropriate. Not very many places
Alan> need the char* cast. Applying to gdb as obvious.
Thanks for doing this. I came up with a couple of follow-up patches to
remove some of the casts. I'll send those soon.
Tom
More information about the Binutils
mailing list