#49134: libgit2-glib @0.23.6 does not build on 10.6.8 ---------------------------+------------------------ Reporter: braumann@… | Owner: juanrgar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: libgit2-glib | ---------------------------+------------------------ Comment (by devans@…): Replying to [ticket:49134 braumann@…]:
Will a more modern compiler tolerate this typedef redefinition?
Yes. Traditionally C has not allowed typedef redefinition but C++ has. Typedef redefinition in C is now allowed as of the C11 standard. So you need a compiler that understands/accepts C11 code. In particular, gcc-4.2 and llvm-gcc-4.2 are outdated and do not. Newer clang and gcc compilers do. -- Ticket URL: <https://trac.macports.org/ticket/49134#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X