#38018: Doxygen: Prevent clang memory leak by adding back the flag reinplaced away by r101062 ---------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: doxygen ---------------------+-------------------------------- Removing `-Wno-invalid-source-encoding` causes `clang++` to memory leak when it hits certain files used when compiling `doxygen`, which makes it take forever, to the point where I usually just end up ^C-ing it. I can see why removing this flag might be necessary for `gcc`, but couldn't this reinplace at least be done conditionally? i.e. do the reinplace iff `configure.compiler == gcc`; on the other hand, if `configure.compiler == clang`, then don't do it. (r101062 for reference) -- Ticket URL: <https://trac.macports.org/ticket/38018> MacPorts <http://www.macports.org/> Ports system for Mac OS