While compiling the X server in xserver/hw/darwin/quartz/quartz.c these errors are reported: In file included from quartz.h:37, from quartz.c:34: quartzPasteboard.h:37: warning: function declaration isn’t a prototype quartzPasteboard.h:41: warning: function declaration isn’t a prototype In file included from quartz.c:35: ./../darwin.h:50: warning: function declaration isn’t a prototype quartz.c:39:21: error: applewm.h: No such file or directory quartz.c: In function ‘DarwinModeAddScreen’: quartz.c:87: warning: target of assignment not really an lvalue; this will be a hard error in the future quartz.c: In function ‘DarwinModeInitOutput’: quartz.c:136: warning: passing argument 1 of ‘RegisterBlockAndWakeupHandlers’ from incompatible pointer type quartz.c: In function ‘DarwinModeProcessEvent’: quartz.c:343: error: ‘AppleWMActivationNotify’ undeclared (first use in this function) quartz.c:343: error: (Each undeclared identifier is reported only once quartz.c:343: error: for each function it appears in.) quartz.c:344: error: ‘AppleWMActivationNotifyMask’ undeclared (first use in this function) quartz.c:345: error: ‘AppleWMIsActive’ undeclared (first use in this function) quartz.c:351: error: ‘AppleWMIsInactive’ undeclared (first use in this function) quartz.c:375: error: ‘AppleWMControllerNotify’ undeclared (first use in this function) quartz.c:376: error: ‘AppleWMControllerNotifyMask’ undeclared (first use in this function) quartz.c:382: error: ‘AppleWMPasteboardNotify’ undeclared (first use in this function) quartz.c:383: error: ‘AppleWMPasteboardNotifyMask’ undeclared (first use in this function) This patch makes it go away: 33,35d32 < #ifdef HAVE_XORG_CONFIG_H < #include <xorg-config.h> < #endif 42c39 < #include "X11/extensions/applewm.h" --- > #include "applewm.h" Mac OS X 10.4.8 GCC 4.0.1 Release 7.1.99.2
Part of this patch was originally written by Peter O'Gorman.
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
The errors are gone, warnings are left.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.