GNU bug report logs -
#15500
24.3.50; NS variant does not build 32-bit on Snow Leopard due to parameter of incompatible type 'CGRect'
Previous Next
Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Date: Tue, 1 Oct 2013 11:07:02 UTC
Severity: normal
Merged with 15505
Found in versions 24.3, 24.3.50
Done: Alp Aker <alptekin.aker <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15500 in the body.
You can then email your comments to 15500 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15500
; Package
emacs
.
(Tue, 01 Oct 2013 11:07:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 01 Oct 2013 11:07:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello!
This is the error:
clang -c -Demacs -I. -I.../emacs-24.3.50/src -I../lib -I.../emacs-24.3.50/src/../lib -I/usr/X11/include -I/sw/include/librsvg-2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/sw/include/cairo -I/sw/include -I/sw/include/freetype2 -I/usr/X11/include -I/sw/include/libxml2 -I/sw/include -MMD -MF deps/macfont.d -MP -I/sw/include -Wno-switch -Wno-pointer-sign -g -H -pipe -fPIC -fno-common -Os -march=core2 -mtune=core2 -m32 -fomit-frame-pointer -msse4.2 macfont.m
macfont.m:2711:5: error: passing 'NSRect' (aka 'struct _NSRect') to parameter of incompatible type 'CGRect'
(aka 'struct CGRect')
NSMakeRect (x, y,
^~~~~~~~~~~~~~~~~
In file included from macfont.m:25:
In file included from ./dispextern.h:76:
In file included from ./nsgui.h:34:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:114:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:8:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:30:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h:25:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h:402:57: note:
passing argument to parameter 'rect' here
CG_EXTERN void CGContextFillRect(CGContextRef c, CGRect rect)
^
1 error generated.
make[2]: *** [macfont.o] Error 1
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2
At bzr revno: 114488
--
Greetings
Pete
My sister opened a computer store in Hawaii. She sells C shells down by the seashore.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15500
; Package
emacs
.
(Tue, 01 Oct 2013 15:28:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 15500 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Does the following patch fix that?
=== modified file 'src/macfont.m'
--- src/macfont.m 2013-09-22 09:31:55 +0000
+++ src/macfont.m 2013-10-01 15:21:23 +0000
@@ -2708,7 +2708,7 @@
{
CG_SET_FILL_COLOR_WITH_GC_BACKGROUND (context, s);
CGContextFillRect (context,
- NSMakeRect (x, y,
+ CGRectMake (x, y,
s->width, FONT_HEIGHT (s->font)));
}
[Message part 2 (text/html, inline)]
Reply sent
to
Alp Aker <alptekin.aker <at> gmail.com>
:
You have taken responsibility.
(Wed, 02 Oct 2013 03:31:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
:
bug acknowledged by developer.
(Wed, 02 Oct 2013 03:31:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 15500-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Fixed in r114493.
[Message part 2 (text/html, inline)]
Forcibly Merged 15500 15505.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 07 Oct 2013 01:23:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 04 Nov 2013 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 196 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.