Subject: bug#866 closed by Adrian Robert <[email-masked]> (#823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs)

From: [email-masked] (Emacs bug Tracking System)

This is an automatic notification regarding your bug report
which was filed against the emacs,ns package:

#823: [Emacs.app dev]: Compiling Emacs.app fails this afternoon.

It has been closed by Adrian Robert <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Adrian Robert <[email-masked]> by
replying to this email.

-- 
823: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=823
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Fri Oct  3 11:04:23 2008
From: Adrian Robert <[email-masked]>
To: [email-masked]
Subject: #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
Date: Fri, 3 Oct 2008 14:03:20 -0400

Summary: the variable gidx was removed during Kenichi Handa's update  
of composition handling and it took some time to update all of the  
code using it:

On 2008-08-29  Kenichi Handa changed the glyph_string data structure,  
composition-related portion

On 2008-09-07  Teodor Zlatanov fixed the compiler error by changing  
glyph_string.gidx to glyph_string.cmp_from

On 2008-09-27 Adrian Robert updated this patch to approximate the  
behavior before Handa's changes

>From [email-masked] Tue Sep  2 10:02:34 2008
Cc: "emacs.app dev list" <[email-masked]>,
        [email-masked]
From: Cezar Halmagean <[email-masked]>
Subject: Re: [Emacs.app dev]: Compiling Emacs.app fails this afternoon.
Date: Tue, 2 Sep 2008 10:02:05 -0700

I can confirm this :

nsfont.m: In function =91nsfont_char_width=92:
nsfont.m:481: warning: =91widthOfString:=92 is deprecated (declared at /=20=

System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function =91nsfont_open=92:
nsfont.m:726: warning: =91widthOfString:=92 is deprecated (declared at /=20=

System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function =91nsfont_draw=92:
nsfont.m:907: error: =91struct glyph_string=92 has no member named =
=91gidx=92
nsfont.m:908: error: =91struct glyph_string=92 has no member named =
=91gidx=92
nsfont.m:914: error: =91struct glyph_string=92 has no member named =
=91gidx=92
nsfont.m:1097: error: =91struct glyph_string=92 has no member named =
=91gidx=92
nsfont.m:1103: error: =91struct glyph_string=92 has no member named =
=91gidx=92
make[1]: *** [nsfont.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [src] Error 2

Regards,
Cezar

On Sep 2, 2008, at 7:55 AM, Dan Villiom Podlaski Christiansen wrote:

> On 1 Sep 2008, at 13:30, Robert Casties wrote:
>> Gilbert Harman wrote:
>>> After ./configure --with-ns
>>> ....
>>> make -j2
>>
>> Same problem for me (also on OSX 10.5.4 intel).
>>
>> 	Robert
>
>
> It was caused by a change on 29 August by Kenichi Handa to =20
> dispextern.h:
> <http://lists.gnu.org/archive/html/emacs-commit/2008-08/msg00731.html>
>
> AFAICT it hasn't been fixed in HEAD yet. (The Mercurial mirror I use =20=

> isn't updated terribly frequently, so it may have been.)
>
> --
>
> Dan Villiom Podlaski Christiansen, stud. scient.
> [email-masked], [email-masked]
>
> =
-------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's =20
> challenge
> Build the coolest Linux based applications with Moblin SDK & win =20
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in =20
> the world
> =
http://moblin-contest.org/redirect.php?banner_id=3D100&url=3D/____________=
___________________________________
> Emacs-app-dev- mailing list
> [email-masked]
> https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-