[MacPorts] #69249: macports-libcxx: error: no member named 'max_align_t' in the global namespace

MacPorts noreply at macports.org
Wed Jan 31 04:45:25 UTC 2024


#69249: macports-libcxx: error: no member named 'max_align_t' in the global
namespace
------------------------+-----------------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.9.0
 Keywords:              |       Port:  macports-libcxx
------------------------+-----------------------------
 Building spice-server failed on OS X 10.9 and earlier because of this
 error in macports-libcxx:

 https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/261472/steps
 /install-port/logs/stdio

 {{{
 In file included from char-device.cpp:24:
 In file included from /opt/local/include/libcxx/v1/list:185:
 In file included from /opt/local/include/libcxx/v1/memory:667:
 In file included from /opt/local/include/libcxx/v1/type_traits:417:
 /opt/local/include/libcxx/v1/cstddef:53:9: error: no member named
 'max_align_t' in the global namespace
 using ::max_align_t;
       ~~^
 }}}

 As Josh said in #68444:

 > Explicitly specifying the std namespace here would be more correct
 anyway, as `max_align_t` in the global namespace is really a C thing not
 C++.

-- 
Ticket URL: <https://trac.macports.org/ticket/69249>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list