GNU bug report logs - #823
23.0.60; uninitialised variable gidx in nsfont.m

Previous Next

Packages: emacs, ns;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Fri, 29 Aug 2008 19:00:04 UTC

Severity: important

Merged with 827, 831, 832, 833, 852, 855, 862, 866, 887, 903

Done: Adrian Robert <adrian.b.robert <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Adrian Robert <adrian.b.robert <at> gmail.com>
Subject: bug#866: marked as done ([Emacs.app dev]: Compiling Emacs.app 
 fails this afternoon.)
[Message part 1 (text/plain, inline)]
Your message dated Fri, 3 Oct 2008 14:03:20 -0400
with message-id <66A91CA5-0AFE-42F4-B27F-3F24BE8626A6 <at> gmail.com>
and subject line #823 - 23.0.60; uninitialised variable gidx in nsfont.m - Emacs bug report logs
has caused the Emacs bug report #823,
regarding [Emacs.app dev]: Compiling Emacs.app fails this afternoon.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don <at> donarmstrong.com
immediately.)


-- 
823: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=823
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Cezar Halmagean <cezar <at> mixandgo.com>
Cc: "emacs.app dev list" <emacs-app-dev-@lists.sourceforge.net>,
        emacs-pretest-bug <at> gnu.org
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 ‘nsfont_char_width’:
nsfont.m:481: warning: ‘widthOfString:’ is deprecated (declared at / 
System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function ‘nsfont_open’:
nsfont.m:726: warning: ‘widthOfString:’ is deprecated (declared at / 
System/Library/Frameworks/AppKit.framework/Headers/NSFont.h:216)
nsfont.m: In function ‘nsfont_draw’:
nsfont.m:907: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:908: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:914: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:1097: error: ‘struct glyph_string’ has no member named ‘gidx’
nsfont.m:1103: error: ‘struct glyph_string’ has no member named ‘gidx’
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  
> 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  
> isn't updated terribly frequently, so it may have been.)
>
> --
>
> Dan Villiom Podlaski Christiansen, stud. scient.
> danchr <at> daimi.au.dk, danchr <at> googlemail.com
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> Emacs-app-dev- mailing list
> Emacs-app-dev-@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-



[Message part 3 (message/rfc822, inline)]
From: Adrian Robert <adrian.b.robert <at> gmail.com>
To: 823-done <at> debbugs.gnu.org
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



This bug report was last modified 16 years and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.