Re: [gtk-list] Re: gtk CVS snapshot




Harald Meland <Harald.Meland@usit.uio.no> writes

> gtktext.c: In function `gtk_text_key_press':
> gtktext.c:1051: `GDK_Page_Up' undeclared (first use this function)
> gtktext.c:1051: (Each undeclared identifier is reported only once
> gtktext.c:1051: for each function it appears in.)
> gtktext.c:1052: `GDK_Page_Down' undeclared (first use this function)

Does it work OK if you change:

  GDK_Page_Up => GDK_Prior
  GDK_Page_Down => GDK_Next

? In XFree86 these constants have the same values.

>  if eval "test x$GCC = xyes"; then
> -  if test ! `echo "$CFLAGS" | grep "\-Wall" 2> /dev/null` ; then
> +  if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
>      CFLAGS="$CFLAGS -Wall"
>    fi

OK, I'll make the change. Doesn't Solaris have a POSIX 'test'?  Or
maybe the GNU version of 'test' has non-POSIX extensions...  Trying to
write portable shell scripts feels very much like playing catch in the
dark.

Thanks,
                                        Owen



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