Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gcc -DHAVE_CONFIG_H -I. -I../../../hw/xmir -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -DPRE_RELEASE=0 -I../../../glamor -I../../../hw/xmir/dri2 -I../../../glx -I../../../hw/xfree86/common -DHAVE_DIX_CONFIG_H -pthread -I/usr/include/mirplatform -I/usr/include/mirclient -I/usr/include/mircommon -I/usr/include/mircookie -I/usr/include/libdrm -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/X11/dri -I../../../include -I../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/sync -I../../../miext/shadow -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -I../../../dbe -I../../../present -fvisibility=hidden -g -O2 -fdebug-prefix-map=/build/xorg-server-1.18.99.1=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -pthread -MT Xmir-xmir-thread-proxy.o -MD -MP -MF .deps/Xmir-xmir-thread-proxy.Tpo -c -o Xmir-xmir-thread-proxy.o `test -f 'xmir-thread-proxy.c' || echo '../../../hw/xmir/'`xmir-thread-proxy.c
- ../../../hw/xmir/xmir-thread-proxy.c: In function ‘xmir_init_thread_to_eventloop’:
- ../../../hw/xmir/xmir-thread-proxy.c:72:2: error: implicit declaration of function ‘AddGeneralSocket’ [-Werror=implicit-function-declaration]
- AddGeneralSocket(pipefds[0]);
- ^~~~~~~~~~~~~~~~
- ../../../hw/xmir/xmir-thread-proxy.c:72:2: warning: nested extern declaration of ‘AddGeneralSocket’ [-Wnested-externs]
- ../../../hw/xmir/xmir-thread-proxy.c:73:33: warning: passing argument 1 of ‘RegisterBlockAndWakeupHandlers’ from incompatible pointer type [-Wincompatible-pointer-types]
- RegisterBlockAndWakeupHandlers((BlockHandlerProcPtr)NoopDDA,
- ^
- In file included from ../../../include/privates.h:151:0,
- from ../../../include/cursor.h:53,
- from ../../../include/scrnintstr.h:53,
- from ../../../fb/fb.h:30,
- from ../../../hw/xmir/xmir.h:40,
- from ../../../hw/xmir/xmir-thread-proxy.c:41:
- ../../../include/dix.h:227:23: note: expected ‘ServerBlockHandlerProcPtr {aka void (*)(void *, void *)}’ but argument is of type ‘void (*)(void *, struct timeval **, void *)’
- extern _X_EXPORT Bool RegisterBlockAndWakeupHandlers(ServerBlockHandlerProcPtr blockHandler,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../../../hw/xmir/xmir-thread-proxy.c:74:12: warning: passing argument 2 of ‘RegisterBlockAndWakeupHandlers’ from incompatible pointer type [-Wincompatible-pointer-types]
- xmir_wakeup_handler,
- ^~~~~~~~~~~~~~~~~~~
- In file included from ../../../include/privates.h:151:0,
- from ../../../include/cursor.h:53,
- from ../../../include/scrnintstr.h:53,
- from ../../../fb/fb.h:30,
- from ../../../hw/xmir/xmir.h:40,
- from ../../../hw/xmir/xmir-thread-proxy.c:41:
- ../../../include/dix.h:227:23: note: expected ‘ServerWakeupHandlerProcPtr {aka void (*)(void *, int)}’ but argument is of type ‘void (*)(void *, int, void *)’
- extern _X_EXPORT Bool RegisterBlockAndWakeupHandlers(ServerBlockHandlerProcPtr blockHandler,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../../../hw/xmir/xmir-thread-proxy.c: In function ‘xmir_fini_thread_to_eventloop’:
- ../../../hw/xmir/xmir-thread-proxy.c:81:31: warning: passing argument 1 of ‘RemoveBlockAndWakeupHandlers’ from incompatible pointer type [-Wincompatible-pointer-types]
- RemoveBlockAndWakeupHandlers((BlockHandlerProcPtr)NoopDDA,
- ^
- In file included from ../../../include/privates.h:151:0,
- from ../../../include/cursor.h:53,
- from ../../../include/scrnintstr.h:53,
- from ../../../fb/fb.h:30,
- from ../../../hw/xmir/xmir.h:40,
- from ../../../hw/xmir/xmir-thread-proxy.c:41:
- ../../../include/dix.h:231:23: note: expected ‘ServerBlockHandlerProcPtr {aka void (*)(void *, void *)}’ but argument is of type ‘void (*)(void *, struct timeval **, void *)’
- extern _X_EXPORT void RemoveBlockAndWakeupHandlers(ServerBlockHandlerProcPtr blockHandler,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../../../hw/xmir/xmir-thread-proxy.c:82:10: warning: passing argument 2 of ‘RemoveBlockAndWakeupHandlers’ from incompatible pointer type [-Wincompatible-pointer-types]
- xmir_wakeup_handler, NULL);
- ^~~~~~~~~~~~~~~~~~~
- In file included from ../../../include/privates.h:151:0,
- from ../../../include/cursor.h:53,
- from ../../../include/scrnintstr.h:53,
- from ../../../fb/fb.h:30,
- from ../../../hw/xmir/xmir.h:40,
- from ../../../hw/xmir/xmir-thread-proxy.c:41:
- ../../../include/dix.h:231:23: note: expected ‘ServerWakeupHandlerProcPtr {aka void (*)(void *, int)}’ but argument is of type ‘void (*)(void *, int, void *)’
- extern _X_EXPORT void RemoveBlockAndWakeupHandlers(ServerBlockHandlerProcPtr blockHandler,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../../../hw/xmir/xmir-thread-proxy.c:83:2: error: implicit declaration of function ‘RemoveGeneralSocket’ [-Werror=implicit-function-declaration]
- RemoveGeneralSocket(pipefds[0]);
- ^~~~~~~~~~~~~~~~~~~
- ../../../hw/xmir/xmir-thread-proxy.c:83:2: warning: nested extern declaration of ‘RemoveGeneralSocket’ [-Wnested-externs]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement