Re: [Xquartz-dev] 2.3.2_beta3 on Tiger in X11R7.2
Am 20.11.2008 um 22:08 schrieb Jeremy Huddleston:
Actually, try putting this in pbproxy.h:
#include <AvailabilityMacros.h> #if MAC_OS_X_VERSION_MIN_REQUIRED < 1050 #if __LP64__ || NS_BUILD_32_LIKE_64 typedef long NSInteger; typedef unsigned long NSUInteger; #else typedef int NSInteger; typedef unsigned int NSUInteger; #endif #endif
It failed once: X11Controller.m: In function '-[X11Controller install_window_menu:]': X11Controller.m:156: error: 'NSUInteger' undeclared (first use in this function) X11Controller.m:156: error: (Each undeclared identifier is reported only once X11Controller.m:156: error: for each function it appears in.) X11Controller.m:156: error: parse error before ']' token X11Controller.m:166: error: parse error before ']' token make[3]: *** [X11Controller.lo] Error 1 because pbproxy.h is not used. This is the list of C header files include that are *not* taken from /usr or /System branches: . sanitizedCarbon.h . ../../include/dix-config.h . quartzCommon.h . X11Controller.h .. sanitizedCocoa.h .. xpr/x-list.h . X11Application.h . ../../include/opaque.h .. ../../include/globals.h ... ../../include/window.h .... ../../include/misc.h ..... ../../include/os.h ...... ../../include/misc.h .... ../../include/region.h ..... ../../include/regionstr.h ...... ../../include/miscstruct.h ....... ../../include/misc.h ....... ../../include/gc.h ........ ../../include/screenint.h ......... ../../include/misc.h ........ ../../include/pixmap.h ......... ../../include/misc.h ......... ../../include/screenint.h .... ../../include/screenint.h . darwin.h .. ../../include/inputstr.h ... ../../include/input.h .... ../../include/misc.h .... ../../include/screenint.h .... ../../include/window.h ... ../../include/window.h ... ../../include/dixstruct.h .... ../../include/dix.h ..... ../../include/gc.h ..... ../../include/window.h ..... ../../include/input.h .... ../../include/resource.h ..... ../../include/misc.h .... ../../include/cursor.h ..... ../../include/misc.h ..... ../../include/screenint.h ..... ../../include/window.h .... ../../include/gc.h .... ../../include/pixmap.h .. ../../include/scrnintstr.h ... ../../include/screenint.h ... ../../include/regionstr.h ... ../../include/bstore.h .... ../../include/bstorestr.h ..... ../../include/gc.h ..... ../../include/pixmap.h ..... ../../include/region.h ..... ../../include/window.h ... ../../include/colormap.h .... ../../include/screenint.h .... ../../include/window.h ... ../../include/cursor.h ... ../../include/validate.h .... ../../include/miscstruct.h .... ../../include/regionstr.h ... ../../include/dix.h .. threadSafety.h . darwinEvents.h . quartz.h .. quartzPasteboard.h . applewmExt.h -- Greetings Pete Genius may have its limitations, but stupidity is not thus handicapped. – Elbert Hubbard
Right, well pbproxy.h isn't included in X11Controller.m, so you'll have to do that in maybe quartzCommon.h or something like that. On Nov 21, 2008, at 04:44, Peter Dyballa wrote:
Am 20.11.2008 um 22:08 schrieb Jeremy Huddleston:
Actually, try putting this in pbproxy.h:
#include <AvailabilityMacros.h> #if MAC_OS_X_VERSION_MIN_REQUIRED < 1050 #if __LP64__ || NS_BUILD_32_LIKE_64 typedef long NSInteger; typedef unsigned long NSUInteger; #else typedef int NSInteger; typedef unsigned int NSUInteger; #endif #endif
It failed once:
X11Controller.m: In function '-[X11Controller install_window_menu:]': X11Controller.m:156: error: 'NSUInteger' undeclared (first use in this function) X11Controller.m:156: error: (Each undeclared identifier is reported only once X11Controller.m:156: error: for each function it appears in.) X11Controller.m:156: error: parse error before ']' token X11Controller.m:166: error: parse error before ']' token make[3]: *** [X11Controller.lo] Error 1
because pbproxy.h is not used. This is the list of C header files include that are *not* taken from /usr or /System branches:
. sanitizedCarbon.h . ../../include/dix-config.h . quartzCommon.h . X11Controller.h .. sanitizedCocoa.h .. xpr/x-list.h . X11Application.h . ../../include/opaque.h .. ../../include/globals.h ... ../../include/window.h .... ../../include/misc.h ..... ../../include/os.h ...... ../../include/misc.h .... ../../include/region.h ..... ../../include/regionstr.h ...... ../../include/miscstruct.h ....... ../../include/misc.h ....... ../../include/gc.h ........ ../../include/screenint.h ......... ../../include/misc.h ........ ../../include/pixmap.h ......... ../../include/misc.h ......... ../../include/screenint.h .... ../../include/screenint.h . darwin.h .. ../../include/inputstr.h ... ../../include/input.h .... ../../include/misc.h .... ../../include/screenint.h .... ../../include/window.h ... ../../include/window.h ... ../../include/dixstruct.h .... ../../include/dix.h ..... ../../include/gc.h ..... ../../include/window.h ..... ../../include/input.h .... ../../include/resource.h ..... ../../include/misc.h .... ../../include/cursor.h ..... ../../include/misc.h ..... ../../include/screenint.h ..... ../../include/window.h .... ../../include/gc.h .... ../../include/pixmap.h .. ../../include/scrnintstr.h ... ../../include/screenint.h ... ../../include/regionstr.h ... ../../include/bstore.h .... ../../include/bstorestr.h ..... ../../include/gc.h ..... ../../include/pixmap.h ..... ../../include/region.h ..... ../../include/window.h ... ../../include/colormap.h .... ../../include/screenint.h .... ../../include/window.h ... ../../include/cursor.h ... ../../include/validate.h .... ../../include/miscstruct.h .... ../../include/regionstr.h ... ../../include/dix.h .. threadSafety.h . darwinEvents.h . quartz.h .. quartzPasteboard.h . applewmExt.h
-- Greetings
Pete
Genius may have its limitations, but stupidity is not thus handicapped. – Elbert Hubbard
_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
participants (2)
-
Jeremy Huddleston
-
Peter Dyballa