Re: using GTK_VERSION_CHECK in a preprocessor statement
- From: Owen Taylor <otaylor redhat com>
- To: jacob berkman <jacob ximian com>
- Cc: gtk-devel-list <gtk-devel-list gnome org>, gtk-doc-list gnome org
- Subject: Re: using GTK_VERSION_CHECK in a preprocessor statement
- Date: Mon, 6 May 2002 16:33:30 -0400 (EDT)
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?
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]