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



Sorry! Didn't realise... will ask the question in the right group.

Chris

Andrew Sobala wrote:
(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;







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