unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs 28.1 doesn't compile on Mac OS 10.7.5
@ 2022-04-15 11:55 Werner LEMBERG
  2022-04-15 13:16 ` Mattias Engdegård
  0 siblings, 1 reply; 29+ messages in thread
From: Werner LEMBERG @ 2022-04-15 11:55 UTC (permalink / raw)
  To: emacs-devel; +Cc: dports


Compiling emacs 28.1 fails if built with MacPorts on Mac OS 10.7.5
(Lion).  The error messages start with

```
/usr/bin/clang -c -isystem/opt/local/include/LegacySupport \
  -I/opt/local/include -Demacs -I. -I. -I../lib -I../lib \
  -I/opt/local/include/libxml2 -MMD -MF deps/coding.d -MP \
  -I/opt/local/include/p11-kit-1 -Wno-switch -Wno-pointer-sign \
  -Wno-string-plus-int -Wno-initializer-overrides \
  -Wno-tautological-compare -pipe -Os -arch x86_64
  coding.c
coding.c:2632:10: error: type name requires a specifier or qualifier
                code = ENCODE_CHAR (charset, c);
                       ^
./charset.h:432:4: note: expanded from macro 'ENCODE_CHAR'
  (verify_expr                                                          \
   ^
../lib/verify.h:262:5: note: expanded from macro 'verify_expr'
   (_GL_VERIFY_TRUE (R, "verify_expr (" #R ", " #E ")") ? (E) : (E))
    ^
../lib/verify.h:177:15: note: expanded from macro '_GL_VERIFY_TRUE'
   (!!sizeof (_GL_VERIFY_TYPE (R, DIAGNOSTIC)))
              ^
../lib/verify.h:192:7: note: expanded from macro '_GL_VERIFY_TYPE'
      _Static_assert (R, DIAGNOSTIC);          \
      ^
```

A complete failure log can be found at

  https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/95632/steps/install-port/logs/stdio

Note that `/usr/bin/clang -v` on this ancient Mac gives the following
output.

```
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
```


    Werner



^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2022-04-17 17:54 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-15 11:55 Emacs 28.1 doesn't compile on Mac OS 10.7.5 Werner LEMBERG
2022-04-15 13:16 ` Mattias Engdegård
2022-04-15 13:48   ` Mattias Engdegård
2022-04-15 15:23     ` Werner LEMBERG
2022-04-15 15:54       ` Eli Zaretskii
2022-04-15 16:48         ` Werner LEMBERG
2022-04-15 16:22       ` Mattias Engdegård
2022-04-15 16:41         ` Mattias Engdegård
2022-04-15 16:51         ` Werner LEMBERG
2022-04-15 17:13           ` Mattias Engdegård
2022-04-15 17:40             ` Werner LEMBERG
2022-04-15 18:34               ` Mattias Engdegård
2022-04-15 19:47                 ` Eli Zaretskii
2022-04-16  5:18                 ` Werner LEMBERG
2022-04-16  7:35                   ` Werner LEMBERG
2022-04-16 10:30                     ` Mattias Engdegård
2022-04-16 15:25                       ` Werner LEMBERG
2022-04-17  2:21         ` Paul Eggert
2022-04-17  3:28           ` Jeffrey Walton
2022-04-17  7:54             ` Paul Eggert
2022-04-17 11:09               ` Werner LEMBERG
2022-04-17 14:33               ` Ryan Schmidt
2022-04-17 14:51                 ` Jeffrey Walton
2022-04-17  9:13           ` Mattias Engdegård
2022-04-17  9:32             ` Po Lu
2022-04-17  9:38               ` Mattias Engdegård
2022-04-17 11:33             ` Eli Zaretskii
2022-04-17 12:27               ` Mattias Engdegård
2022-04-17 17:54             ` Paul Eggert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).