[comp.windows.x] Lucid 3.0/DECSystem problem with CLX

MELTSNE@gecrdvm1.crd.ge.com (08/15/90)

I've been having some trouble compiling xlib:event-case statements with the
the current version of CLX from expo.lcs.mit.edu. (4.3)  The problem appears
to be the use of sys:svref-{16,32} to modify a buffer.  Since the code
for clx includes #+lcl3.0 statements to force it to use these Lucid-specific
calls, I changed it around and went back to the generic aref commands.  It
now works fine, although there seems to be a slight performance hit.

I'd suggest the same fix to anyone else with the problem -- xlib:event-case
runs much faster when compiled.


System details:
DECStation 5000 with Ultrix 3.1, Lucid/DECSystem 3.0, CLX 4.3

Summary:
Changed #+lcl3.0 statements to #+(and lcl3.0 (not mips)) (same for #-lcl3.0)
in dependent.lisp so that aref is used in the various int16,int32, card16, etc.
statements, instead of sys:svref-*.  Probably not the fastest, but it appears
to be more stable.  Certainly, it allows xlib:event-case to be compiled.

                            Ken