#47722: ghostscript: build failure on 10.6; triop.h:407: error: type qualifiers ignored on function return type --------------------------+-------------------------------- Reporter: mojca@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: snowleopard Port: ghostscript | --------------------------+-------------------------------- Comment (by braumann@…): Replying to [comment:9 devans@…]:
Yes, but in general, I try and avoid the pure gcc compilers when clang is available (for compatibility with other platforms). The selected compiler in this case is mp-clang-3.4 which I believe has a higher priority on the fallback list than the gcc-4.7+ in any case. As soon as you restrict compilers to clang-mp-3.* you must know that you lock out PPC users. E.g. clang-mp-3.4 can be built on 10.5.8 PPC, but still is not functional! So, please add a switch in order to allow gcc- mp-4.* (say, at least gcc-mp-4.5, I guess), in my case this invocation has worked: {{{ $ sudo port upgrade ghostscript configure.compiler=macports-gcc-4.9 }}}
-- Ticket URL: <https://trac.macports.org/ticket/47722#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X