[MacPorts] #40998: libgcc @4.8.1 Compile error on Mavericks macports 2.2.1 package (Error: conflicting declaration 'typedef enum pointer_t pointer_t')

MacPorts noreply at macports.org
Thu Nov 20 07:18:17 PST 2014


#40998: libgcc @4.8.1 Compile error on Mavericks macports 2.2.1 package (Error:
conflicting declaration 'typedef enum pointer_t pointer_t')
---------------------------------+-----------------------
  Reporter:  William.Capehart@…  |      Owner:  mww@…
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.2.1
Resolution:                      |   Keywords:  mavericks
      Port:  libgcc              |
---------------------------------+-----------------------

Comment (by lkelley@…):

 Replying to [comment:17 larryv@…]:
 > Replying to [comment:16 lkelley@…]:
 > > Perhaps it has something to do with developer tools?
 >
 > The `/usr/include/{malloc,sys}/malloc.h` are fine; they’re installed by
 the Xcode Command Line Tools. `/usr/include/malloc.h` is a non-standard
 header that basically no systems install anymore.
 >
 > The problem is that GCC’s build sees this mystery symlink
 `/usr/include/malloc.h`, assumes that you’re running SunOS, and fixes up
 its own copy. This screws up includes later on.
 >
 > What’s the output of this, if any?
 > {{{
 > % pkgutil --file-info /usr/include/malloc.h
 > }}}

 Nothing:

 {{{
 volume: /
 path: /usr/include/malloc.h
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/40998#comment:18>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list