tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: handling absolute X, Y position event in bsd_mouse.c



Hi,

2009/3/5 NONAKA Kimihiro <nonakap%gmail.com@localhost>:
> I see our XFree86 source's bsd_mouse.c.ãAll necessary things for me
> were written there.
> However, I do not know what it is of ABSOLUTE_Z and ABSOLUTE_W.
> I have only the device that reports on ABSOLUTE_X and ABSOLUTE_Y.

When it is our XFree86 source's bsd_mouse.c method, warning goes out,
and it has become a build error.

#   compile  xorgos/bsd_mouse.o
/usr/local/netbsd-tools/bin/i386--netbsdelf-gcc -O2  -Werror
-fno-strict-aliasing   -DSHAPE -DXKB -DLBX -DXAPPGROUP -DXCSECURITY
-DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV  -DPANORAMIX -DRENDER
-DRANDR -DGCCUSESGAS  -DAVOID_GLYPHBLT -DSINGLEDEPTH -DXvExtension
-DXFree86Server -DXvMCExtension -DSMART_SCHEDULE  -DBUILDDEBUG
-DXResExtension -DNDEBUG -DXINPUT -DXFreeXDGA -DXF86VIDMODE
-DXORG_VERSION_CURRENT="(((1) * 10000000) + ((4) * 100000) + ((2) *
1000) + 0)" -I/usr/xsrc/external/mit/xorg-server/dist/hw/xfree86/common
 -I/usr/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support
-I/usr/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd
-I/usr/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bus
-I/usr/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/misc
-I/usr/xsrc/external/mit/xorg-server/dist/include
-I/home/snapshot/20090303/root/i386/usr/X11R7/include/X11
-I/home/snapshot/20090303/root/i386/usr/X11R7/include/X11/extensions
-I/home/snapshot/20090303/root/i386/usr/X11R7/include/pixman-1
-I/usr/xsrc/external/mit/xorg-server/dist/mi
-I/usr/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/shared
 -I/usr/xsrc/xfree/xc/extras/drm/shared -DGLXEXT -DXF86DRI
-DGLX_DIRECT_RENDERING  -DGLX_USE_DLOPEN -DGLX_USE_MESA -DCSRG_BASED
-DFUNCPROTO=15 -DNARROWPROTO
-I/home/snapshot/20090303/root/i386/usr/X11R7/include   -nostdinc
-isystem /home/snapshot/20090303/root/i386/usr/include -c
-DPCCONS_SUPPORT -DHAS_APERTURE_DRV -DUSE_I386_IOPL -DPCVT_SUPPORT
-DWSCONS_SUPPORT  -DUSESTDRES -DHAVE_SYSV_IPC  -DHAS_MTRR_BUILTIN
/usr/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/bsd_mouse.c
-o bsd_mouse.o
cc1: warnings being treated as errors
/usr/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/bsd_mouse.c:
In function 'wsconsReadInput':
/usr/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/bsd_mouse.c:461:
warning: 'miPointerPosition' is deprecated (declared at
/usr/xsrc/external/mit/xorg-server/dist/mi/mipointer.h:130)
/usr/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/bsd_mouse.c:462:
warning: 'miPointerAbsoluteCursor' is deprecated (declared at
/usr/xsrc/external/mit/xorg-server/dist/mi/mipointer.h:124)
/usr/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/bsd_mouse.c:467:
warning: 'miPointerPosition' is deprecated (declared at
/usr/xsrc/external/mit/xorg-server/dist/mi/mipointer.h:130)
/usr/xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/bsd_mouse.c:468:
warning: 'miPointerAbsoluteCursor' is deprecated (declared at
/usr/xsrc/external/mit/xorg-server/dist/mi/mipointer.h:124)

*** Failed target:  bsd_mouse.o

Regards,
-- 
NONAKA Kimihiro


Home | Main Index | Thread Index | Old Index