Re: libbonoboui-2.4.3 compilation derefencing type-punned pointer warning



(This should be on desktop-devel-list. Please move it there; thanks.)

On Mon, 2004-04-19 at 21:39 +1000, Chris Sherlock wrote:
> Hi Kjartan,
> 
> If that's the case, why do they get used at all? I thought it was for 
> portability reasons... but I could be wrong.
> 
> Any answers on the type punning issue?
> 
> Chris
> 
> Kjartan Maraas wrote:
> > søn, 18.04.2004 kl. 03.47 +1000, skrev Chris Sherlock:
> > 
> > 
> >>Incidently, shouldn't the char* str by gchar *str?
> >>
> > 
> > 
> > char * and gchar * are the same. Same for int and gint.
> > 
> > Cheers
> > Kjartan
> > 
> > 
> >>Chris
> >>
> >>[snip]
> >>
> >>>In bonobo-ui-preferences.c:
> >>>
> >>>BonoboUIToolbarStyle
> >>>bonobo_ui_preferences_get_toolbar_style (void)
> >>>{
> >>>        BonoboUIToolbarStyle style;
> >>>        char *str;
> > 
> > 

Attachment: signature.asc
Description: This is a digitally signed message part



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