On Fri, 14 Mar 2008 08:51:34 -0500 "Jeff Pohlmeyer" <[EMAIL PROTECTED]> wrote:
> Nick Treleaven <[EMAIL PROTECTED]> wrote: > > Jeff Pohlmeyer <[EMAIL PROTECTED]> wrote: > > > > I can now create the name and label strings dynamically, > > > but I get those "discards qualifiers" messages when I > > > compile with warnings turned on. > > > > Can you show some example code that produces the warnings, and your > > warning flags (I use at least -Wall and -Wextra)? > > Here is an example that should give you a general idea of > what I am trying to do. Note that I use "group" here instead > of plugin_key_group[1] just to shorten lines for email... Thanks. > The problem comes with calling g_free() on the const char* . > You can get around it with a cast, but the warning comes back > if you compile with -Wcast-qual . OK, I've now changed those fields to be char*, and updated keybindings_set_item() accordingly. HTH, Nick _______________________________________________ Geany mailing list [email protected] http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
