[MacPorts] #65179: py-libxml2, py-Pillow, py-gdbm: need to either blacklist gcc-4* or patch out -Wno-unused-result

MacPorts noreply at macports.org
Sat Jun 4 16:04:48 UTC 2022


#65179: py-libxml2, py-Pillow, py-gdbm: need to either blacklist gcc-4* or patch
out -Wno-unused-result
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  MarcusCalhoun-Lopez
  barracuda156           |
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.2
Resolution:              |   Keywords:  powerpc, leopard, snowleopard,
      Port:  py-libxml2  |  rosetta
  py-Pillow              |
-------------------------+-------------------------------------------------

Comment (by kencu):

 is it somewhere in py-cython that where the flag Wno-unused-result
 originates? I have not as yet been able to see exactly where that flag
 gets thrown in, but it's some python build support port I guess.

 blacklisting older compilers is one way around this, but TBH it is not
 really a great way around it, as that can then come back to bite you when
 you are no longer able to bootstrap any more.

 Sometimes it's the only way out, though.

-- 
Ticket URL: <https://trac.macports.org/ticket/65179#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list