[MacPorts] #61137: glib2 @2.58.3 +universal+x11: compile error: unterminated conditional directive (clang version?)

MacPorts noreply at macports.org
Mon Sep 7 23:44:38 UTC 2020


#61137: glib2 @2.58.3 +universal+x11: compile error: unterminated conditional
directive (clang version?)
---------------------+------------------------
  Reporter:  JDLH    |      Owner:  ryandesign
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.6.3
Resolution:          |   Keywords:
      Port:  glib2   |
---------------------+------------------------

Comment (by JDLH):

 My `/opt/local/include/ffi.h` has a lot more than those 5 lines:

 {{{
 g% wc -l /opt/local/include/ffi.h
      520 /opt/local/include/ffi.h
 }}}

 The lines around the test for `__LP64__` are:

 {{{
 [… snip …]
 #ifndef LIBFFI_H
 #define LIBFFI_H

 #ifdef __cplusplus
 extern "C" {
 #endif

 /* Specify which architecture libffi is configured for. */
 #ifndef __LP64__
 #ifndef X86_DARWIN
 #define X86_DARWIN
 #else
 #ifndef X86_64
 #define X86_64
 #endif
 #endif
 [… snip …]
 }}}

 So that looks a lot different than the excerpt you posted.

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


More information about the macports-tickets mailing list