[MacPorts] #68920: boost176 @1.76.0_10 broken after rev-update for new version of icu (on older macOS?)

MacPorts noreply at macports.org
Mon Dec 18 18:16:45 UTC 2023


#68920: boost176 @1.76.0_10 broken after rev-update for new version of icu (on
older macOS?)
------------------------+-----------------------
  Reporter:  snowflake  |      Owner:  michaelld
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  boost176   |
------------------------+-----------------------

Comment (by erikbs):

 Another workaround is to edit this line in Portfile:
 {{{
 configure.cxxflags-append -std=gnu++11
 }}}
 so that it reads
 {{{
 configure.cxxflags-append -std=gnu++11 -Wno-enum-constexpr-conversion
 }}}

 The constexpr enum warning is now a hard error, but according to the build
 logs, it was only a soft warning in the LLVM/Clang version on which the
 latest Xcode/AppleClang version is based on (a 16.0.0 pre-release maybe?).
 It was made a hard error because doing this is undefined behaviour.
 Disabling the warning is therefore bad, but is no worse than using a
 compiler version that does not have this check at all (Clang 15). I
 suggest suppressing the warning/error instead of blacklisting Clang 16.

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


More information about the macports-tickets mailing list