Subject: Re: CVS commit: src/distrib/utils/sysinst
To: Luke Mewburn <lukem@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 05/09/2003 14:00:41
>
> You've changed the offending code it:
> free((void *)tz_menu[n].opt_name);
>
> That does not work with
> -Wcast-qual
> gcc is too "smart" and const-poisons the pointer.
That one isn't in the default set of warnings :-)
> I think you're just going to have to accept that menu_ent has a "char *"
> and not a "const char *" member ... :-(
I'm not beaten yet...
David
--
David Laight: david@l8s.co.uk