Opened 2 years ago

Last modified 14 months ago

#65896 assigned defect

emacs fails to compile on old Mac <= 10.7 — at Initial Version

Reported by: rmottola (Riccardo) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: tiger leopard snowleopard lion Cc:
Port: emacs

Description

Emacs fails to compile on 10.7 because of this error:

:info:build nsterm.m:8391:8: error: use of undeclared identifier 'child'
:info:build   if ([child respondsToSelector:@selector(setAccessibilitySubrole:)])
:info:build        ^

The code looks for a non existing ivar, checking source code, emacs fixed it with this commit:

https://github.com/emacs-mirror/emacs/commit/96ec2ac7d0bdb6b1193217b35f7d74d79b7c2033

we might have a backport patch for it. It does not apply cleanly, but it contains the fix for that part.

Another build issue remains:

nsmenu.m:644:48: error: use of undeclared identifier 'NSTextAlignmentRight'
    [[[NSTextTab alloc] initWithTextAlignment: NSTextAlignmentRight

And here I am at loss,

NSTextAlignmentRight

is valid, not something recent, what else is missing?

Change History (0)

Note: See TracTickets for help on using tickets.