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

MacPorts noreply at macports.org
Sat Jun 22 22:07:49 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
Resolution:                                 |   Keywords:
      Port:  macports-libcxx, spice-server  |
--------------------------------------------+--------------------

Comment (by ar-an-ribe):

 Replying to [comment:1 ryandesign]:
 > I'm assuming it is a problem in macports-libcxx but it could also be a
 problem in spice-server.

 In version 2.9.3 on Mavericks, two of the three errors that are generated
 are due to the presence of `max_align_t` in C++ headers—the first one that
 you’d provided above (in `cstddef`), and the second one in
 `/opt/local/include/libcxx/v1/new` (“error: use of undeclared identifier
 'max_align_t'”). Both of these `max_align_t` uses are within `#if` gates;
 the first one is included by `#if !defined(_LIBCPP_CXX03_LANG)`, and the
 second one is included through the `#else` of `#ifdef
 __STDCPP_DEFAULT_NEW_ALIGNMENT__`.

 The third error has something to do with what looks like a prototype for
 `__is_overaligned_for_new`(), but no location was included in `main.log`
 for where that error was generated.

 The inability to build the `spice-server` port on Mavericks prevents the
 `qemu` port from being built there.

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


More information about the macports-tickets mailing list