Re: using GTK_VERSION_CHECK in a preprocessor statement



On Mon, 2002-05-06 at 16:33, Owen Taylor wrote:
> jacob berkman <jacob ximian com> writes:
> 
> > On Mon, 2002-05-06 at 15:15, Owen Taylor wrote:
> > > jacob berkman <jacob ximian com> writes:
> > > 
> > > > On Mon, 2002-05-06 at 14:16, Owen Taylor wrote:
> > > > > jacob berkman <jacob ximian com> writes:
> > > > > 
> > > > > > over the weekend, this got added to gtkdoc-scangobj:
> > > > > > 
> > > > > >     #ifdef GTK_IS_WIDGET_CLASS
> > > > > >     #if GTK_CHECK_VERSION(2,1,0)
> > > > > >         if (!style_prop && GTK_IS_WIDGET_CLASS (class)) {
> > > > > > 
> > > > > > when docs are built with this, i get an error:
> > > > > > 
> > > > > >     missing binary operator before 'EOL'
> > > > > > 
> > > > > > from the line with the GTK_CHECK_VERSION.
> > > > > > 
> > 
> > also, forte on solaris gives me:
> > 
> >     "panel-applet-scan.c", line 705: unexpected "("
> >     "panel-applet-scan.c", line 707: warning: improper pointer/integer
> >     combination: op "="
> 
> Are you saying that this goes away when you combine the two lines?

on linux, yes.  didn't try on solaris - putting out other, bigger fires
right now.

jacob
-- 
"don't get me wrong, i think that radiohead are amazing. i love their
 music and i love their ethos, but that thom yorke guy always seems to
 be complaining." -- moby



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