gtk+ vs. Solaris 2.5.1: assuptions about keysyms and cursors



gtkaccelgroup.c: In function `gtk_accelerator_valid':
gtkaccelgroup.c:707: `GDK_ISO_Lock' undeclared (first use this function)
gtkaccelgroup.c:707: (Each undeclared identifier is reported only once
gtkaccelgroup.c:707: for each function it appears in.)
gtkaccelgroup.c:712: `GDK_ISO_Left_Tab' undeclared (first use this function)
gtkaccelgroup.c:714: `GDK_First_Virtual_Screen' undeclared (first use this function)
gtkaccelgroup.c:714: `GDK_Prev_Virtual_Screen' undeclared (first use this function)
gtkaccelgroup.c:715: `GDK_Next_Virtual_Screen' undeclared (first use this function)
gtkaccelgroup.c:715: `GDK_Last_Virtual_Screen' undeclared (first use this function)
gtkaccelgroup.c:716: `GDK_Terminate_Server' undeclared (first use this function)
gtkaccelgroup.c:716: `GDK_AudibleBell_Enable' undeclared (first use this function)

gdk generates gdkkeymaps.h and gdkcursors.h from the system ones.
gtk+ then assumes that the generated file includes X11R6 symbols.
Solaris 2.x includes X11R5.  (Installing X11R6 is NOT an option.)

gtkaccelgroup.c is not the only file where this happens.  I blew away all
my ifdefs when I re-checked out gtk+, and now I find that (a) I need them all
again and (b) files generated at compile time are being stored in CVS.

I'm going to assume for now that the correct fix is to put the missing
ifdefs around the X11R6 assumptions.

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
electrical and computer engineering
carnegie mellon university			   (bsa@kf8nh is still valid.)



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