Am 15.07.2006 um 16:20 schrieb Adrian Robert:

>
> On Jul 15, 2006, at 9:13 AM, Peter Dyballa wrote:
>
>> Still one error:
>>
>>      nsterm.m:1092: warning: ‘NSWindow’ may not respond to ‘- 
>> frameRectForContentRect:styleMask:’
>>      nsterm.m:1092: warning: (Messages without a matching method  
>> signature
>>      nsterm.m:1092: warning: will be assumed to return ‘id’ and accept
>>      nsterm.m:1092: warning: ‘...’ as arguments.)
>>      nsterm.m:1092: error: incompatible type for argument 1 of ‘NSHeight’
>
> Strange.  I did not get this compiling on either Panther or Tiger,  
> though admittedly I haven't yet been willing to go through the  
> reboot needed to get to 10.4.7 ;).  Maybe there is a gcc version  
> difference in that increment.  Try changing the first occurrence of  
> "window" in that assignment line to "NSWindow" and see if that  
> helps.  If so, I'll redo the patch.
>

With this statement:

                  FRAME_NS_TOOLBAR_HEIGHT(f) =
                    NSHeight([NSwindow frameRectForContentRect: NSMakeRect 
(0,0,0,0)
                                                   styleMask: [window  
styleMask]])
                      - FRAME_NS_TITLEBAR_HEIGHT(f);

I get:

        nsterm.m: In function ‘x_set_window_size’:
        nsterm.m:1091: error: ‘NSwindow’ undeclared (first use in this  
function)
        nsterm.m:1091: error: (Each undeclared identifier is reported only once
        nsterm.m:1091: error: for each function it appears in.)

My usual gcc is 4.0.1. Setting CC to gcc-3.3 it compiles fine (110  
MB) ... but Emacs.app does not launch. Invoking ``build/Emacs.app/ 
Contents/MacOS/Emacs &´´ tells me:

        Symbol's value as variable is void: command-line-ns-option-alist

--
Greetings

   Pete

"We have to expect it, otherwise we would be surprised."





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Emacs-app-dev- mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to