Re: [MacPorts] #65992: py310-pycryptodome fails to build on 10.5.8: error: #error No routines for aligned memory; error: ‘for’ loop initial declaration used outside C99 mode

MacPorts noreply at macports.org
Tue Aug 6 19:58:30 UTC 2024


#65992: py310-pycryptodome fails to build on 10.5.8: error: #error No routines for
aligned memory; error: ‘for’ loop initial declaration used outside C99 mode
-------------------------------------+-------------------------------------
  Reporter:  barracuda156            |      Owner:  catap
      Type:  defect                  |     Status:  assigned
  Priority:  Normal                  |  Milestone:
 Component:  ports                   |    Version:  2.7.2
Resolution:                          |   Keywords:  powerpc, leopard,
      Port:  py310-pycryptodome,     |  snowleopard
  py-pycryptodome                    |
-------------------------------------+-------------------------------------

Comment (by ryandesign):

 Replying to [comment:3 catap]:
 > I'm wondering isn't it enough to setup `compiler.c_standard` and
 `compiler.cxx_standard`?

 Setting `compiler.c_standard` or `compiler.cxx_standard` tells MacPorts
 what compiler to use. It doesn't add any flags like `-std=…`; that's for
 the build system to do, or the portfile if the build system doesn't do it.

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


More information about the macports-tickets mailing list