Re: [gtk-list] Re: Converting pointers



On 1 Jan 2000, Havoc Pennington wrote:

> Anthony Tekatch <tekatch@idirect.com> writes:
> > 
> >   text[0] = group->name;
> > 
> > produces this warning:
> > 
> >   warning: assignment discards `const' from pointer target type    
> > 
> 
> if group->name is const then you need to make it const gchar*
> text[].

01 Jan 2000 01:52:37 ? you oughta go out and party! ;)

happy new year!

> 
> Havoc
> 

---
ciaoTJ




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]