[MacPorts] #68148: libgit2 @1.7.1: builds fail with xcode clang 6 and earlier: error: unknown type name 'inline', from legacy-support header 'dirent.h'

MacPorts noreply at macports.org
Mon Sep 11 07:56:41 UTC 2023


#68148: libgit2 @1.7.1: builds fail with xcode clang 6 and earlier: error: unknown
type name 'inline', from legacy-support header 'dirent.h'
----------------------+---------------------
  Reporter:  mascguy  |      Owner:  mascguy
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.1
Resolution:  fixed    |   Keywords:
      Port:  libgit2  |
----------------------+---------------------

Comment (by jmroot):

 Replying to [ticket:68148 mascguy]:
 > Despite the project setting the C standard to 90 - which should (?) be
 sufficient - builds are failing due to keyword 'inline':

 There is no inline keyword in C89/90. It's available as a GNU extension if
 you use `-std=gnu89`, but has different semantics to what was eventually
 added in C99.

-- 
Ticket URL: <https://trac.macports.org/ticket/68148#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list