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



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;






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