[MacPorts] #45758: libgcc: error: conflicting declaration 'typedef enum pointer_t' on yosemite 10.10

MacPorts noreply at macports.org
Mon Nov 3 12:41:28 PST 2014


#45758: libgcc: error: conflicting declaration 'typedef enum pointer_t' on yosemite
10.10
-----------------------+--------------------------------
 Reporter:  lkelley@…  |      Owner:  macports-tickets@…
     Type:  defect     |     Status:  new
 Priority:  High       |  Milestone:
Component:  ports      |    Version:  2.3.2
 Keywords:             |       Port:  libgcc
-----------------------+--------------------------------
 libgcc fails to build on yosemite, the error is:


 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.1/gcc/fortran/module.c:113:1:
 error: conflicting declaration 'typedef enum pointer_t pointer_t'
 :info:build  pointer_t;
 :info:build  ^
 :info:build In file included from
 /usr/include/mach/memory_object_types.h:77:0,
 :info:build                  from /usr/include/mach/mach_types.h:85,
 :info:build                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build
 /prev-gcc/include-fixed/malloc.h:37,
 :info:build                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.1/gcc/system.h:466,
 :info:build                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.1/gcc/fortran/module.c:68:
 :info:build /usr/include/mach/vm_types.h:40:26: note: previous declaration
 as 'typedef vm_offset_t pointer_t'
 :info:build  typedef vm_offset_t      pointer_t;
 :info:build                           ^
 :info:build make[3]: *** [fortran/module.o] Error 1
 }}}

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


More information about the macports-tickets mailing list