[MacPorts] #55641: zmq @4.2.3 fails to build on 10.7 and 10.8 due to C++11

MacPorts noreply at macports.org
Fri Jan 5 10:23:40 UTC 2018


#55641: zmq @4.2.3 fails to build on 10.7 and 10.8 due to C++11
-----------------------------+--------------------------------
  Reporter:  ryandesign      |      Owner:  merijn
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.4.2
Resolution:                  |   Keywords:  lion, mountainlion
      Port:  zmq, zmq-devel  |
-----------------------------+--------------------------------

Comment (by ryandesign):

 `AX_CXX_COMPILE_STDCXX_11` sets `HAVE_CXX11`. But I don't see anywhere in
 the code that inspects the value of `HAVE_CXX11`. Therefore, I don't know
 what the purpose of the configure check is, and I don't think that
 removing it (1) or overriding it (2 or 3) will have any effect on whether
 zmq actually uses C++11 or not. See e.g. places in the code that check
 `#elif (defined __cplusplus && __cplusplus >= 201103L)`. And let's please
 not even consider switching to cmake (4) since I don't see how that would
 solve anything either and it brings with it a whole new set of problems.

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


More information about the macports-tickets mailing list