[Top][All Lists]

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

Re: [Qemu-devel] Cocoa.m won't compile on 10.4

From: Mike Kronenberg
Subject: Re: [Qemu-devel] Cocoa.m won't compile on 10.4
Date: Sat, 11 Oct 2008 12:53:46 +0200


There where introduced some wrong #if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4) with my coregraphics patch. I submitted a patch to correct this glitches and introduce OpenGL to cocoa.m, but it got somehow forgotten ;)



On 09.10.2008, at 17:26, C.W. Betts wrote:

Whenever I try to compile the cocoa.m file using the Mac OS X 10.4 SDK, it always pops up with an error. The error only occurs when compiling for 10.4: 10.3 and 10.5 are unaffected.

gcc -Wall -O2 -g -fno-strict-aliasing -mdynamic-no-pic -m32 -arch i386 -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/ MacOSX10.4u.sdk -mfpmath=sse -msse3 - DMAC_OS_X_VERSION_MIN_REQUIRED=1040 - DMAC_OS_X_VERSION_MAX_ALLOWED=1040 -I. -I/Users/cwbetts/makestuff/ qemu-allmac/src -MMD -MP -MT cocoa.o -D_GNU_SOURCE - D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/Users/cwbetts/makestuff/ qemu-allmac/src/slirp -c -o cocoa.o /Users/cwbetts/makestuff/qemu- allmac/src/cocoa.m /Users/cwbetts/makestuff/qemu-allmac/src/cocoa.m: In function ‘- [QemuCocoaView toggleFullScreen:]’: /Users/cwbetts/makestuff/qemu-allmac/src/cocoa.m:441: warning: ‘QemuCocoaView’ may not respond to ‘-exitFullScreenModeWithOptions:’ /Users/cwbetts/makestuff/qemu-allmac/src/cocoa.m:441: warning: (Messages without a matching method signature /Users/cwbetts/makestuff/qemu-allmac/src/cocoa.m:441: warning: will be assumed to return ‘id’ and accept /Users/cwbetts/makestuff/qemu-allmac/src/cocoa.m:441: warning: ‘...’ as arguments.) /Users/cwbetts/makestuff/qemu-allmac/src/cocoa.m:459: error: ‘NSFullScreenModeAllScreens’ undeclared (first use in this function) /Users/cwbetts/makestuff/qemu-allmac/src/cocoa.m:459: error: (Each undeclared identifier is reported only once /Users/cwbetts/makestuff/qemu-allmac/src/cocoa.m:459: error: for each function it appears in.) /Users/cwbetts/makestuff/qemu-allmac/src/cocoa.m:460: error: ‘NSFullScreenModeSetting’ undeclared (first use in this function) /Users/cwbetts/makestuff/qemu-allmac/src/cocoa.m:461: warning: ‘QemuCocoaView’ may not respond to ‘-enterFullScreenMode:withOptions:’
make: *** [cocoa.o] Error 1

I worked around it by using the older cocoa.m that uses QuickDraw, but it seems to use the wrong colors :/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]