From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mc66C-0008WI-EK for qemu-devel@nongnu.org; Fri, 14 Aug 2009 19:22:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mc667-0008M9-Ns for qemu-devel@nongnu.org; Fri, 14 Aug 2009 19:22:15 -0400 Received: from [199.232.76.173] (port=43491 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mc667-0008LS-40 for qemu-devel@nongnu.org; Fri, 14 Aug 2009 19:22:11 -0400 Received: from mail-gx0-f211.google.com ([209.85.217.211]:42269) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mc666-0003nW-DB for qemu-devel@nongnu.org; Fri, 14 Aug 2009 19:22:10 -0400 Received: by gxk7 with SMTP id 7so2400887gxk.8 for ; Fri, 14 Aug 2009 16:22:09 -0700 (PDT) In-Reply-To: <94AAA5EF-FC93-49B8-98D5-866B0D350695@ryandesign.com> References: <4a82ac39.a653f10a.37b8.3d80SMTPIN_ADDED@mx.google.com> <7ce90f0828477019b9b268855f06a47e@gmail.com> <87b2c59f42db823989fcfc52ceed7d73@gmail.com> <94AAA5EF-FC93-49B8-98D5-866B0D350695@ryandesign.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: multipart/alternative; boundary=Apple-Mail-1--745496085 Message-Id: <3d4956a7dd808fa1f3397477cd659f0f@gmail.com> From: G 3 Subject: Re: [Qemu-devel] qemu 0.10.6 on Mac OS X Tiger: NSFullScreenModeAllScreens undeclared Date: Fri, 14 Aug 2009 19:22:07 -0400 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ryan Schmidt Cc: qemu-devel@nongnu.org --Apple-Mail-1--745496085 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Aug 13, 2009, at 6:18 PM, Ryan Schmidt wrote: > On Aug 12, 2009, at 17:29, G 3 wrote: > >> On Aug 12, 2009, at 5:18 PM, Ryan Schmidt wrote: >> >>> On Aug 12, 2009, at 09:20, G 3 wrote: >>> >>>> I have made so many patches that fixed problems with the cocoa.m >>>> file. I sent them all in and not a single one of them made it into >>>> cocoa.m. I have emailed Anthony Liguori about these missing >>>> patches. He said they were already committed. They weren't. I don't >>>> know what else to do. I could send the modified cocoa.m to you if >>>> you want. >>> >>> Thank you, that would be kind. If you could send a diff for cocoa.m >>> from 0.10.6 that would be great. >> >> Sending you the entire file would be a lot easier. All you have to do >> is replace the old file with the new one. Enjoy. >> >> >> >> Note: I haven't compiled this file under 10.4. I do know it compiles >> cleanly under 10.3. I used gcc 3.3 and make 3.81. > > Attached is the diff between the version of cocoa.m in qemu 0.10.6 and > the one you sent me. The changes you propose don't seem to relate to > the code that is failing for me, and I still get the same error > message when I try to build on 10.4. > > > > I did a little research and found out why you are having problems compiling the cocoa.m file. It is a problem with this line: #if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4). It is located just a few lines above this line: if ([NSView respondsToSelector:@selector(enterFullScreenMode:withOptions:)]). The greater than or equal to sign should be switched to just greater than. The method enterFullScreenMode:withOptions: is only available on Mac OS 10.5 or higher. That is why you are seeing the error with NSFullScreenModeAllScreens on 10.4. Hope this helps. --Apple-Mail-1--745496085 Content-Transfer-Encoding: 7bit Content-Type: text/enriched; charset=US-ASCII On Aug 13, 2009, at 6:18 PM, Ryan Schmidt wrote: On Aug 12, 2009, at 17:29, G 3 wrote: On Aug 12, 2009, at 5:18 PM, Ryan Schmidt wrote: On Aug 12, 2009, at 09:20, G 3 wrote: I have made so many patches that fixed problems with the cocoa.m file. I sent them all in and not a single one of them made it into cocoa.m. I have emailed Anthony Liguori about these missing patches. He said they were already committed. They weren't. I don't know what else to do. I could send the modified cocoa.m to you if you want. Thank you, that would be kind. If you could send a diff for cocoa.m from 0.10.6 that would be great. Sending you the entire file would be a lot easier. All you have to do is replace the old file with the new one. Enjoy. < Note: I haven't compiled this file under 10.4. I do know it compiles cleanly under 10.3. I used gcc 3.3 and make 3.81. Attached is the diff between the version of cocoa.m in qemu 0.10.6 and the one you sent me. The changes you propose don't seem to relate to the code that is failing for me, and I still get the same error message when I try to build on 10.4. < I did a little research and found out why you are having problems compiling the cocoa.m file. It is a problem with this line: #if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4). It is located just a few lines above this line: 7676,0F0F,5050if ([NSView respondsToSelector:7676,0F0F,5050@selector(enterFullScreenMode:withOptions:)]). The greater than or equal to sign should be switched to just greater than. The method enterFullScreenMode:withOptions: is only available on Mac OS 10.5 or higher. That is why you are seeing the error with NSFullScreenModeAllScreens on 10.4. Hope this helps. --Apple-Mail-1--745496085--