[MacPorts] #71855: mozjs52 @52.6.0_9: error: 'auto' not allowed in template parameter until C++17

MacPorts noreply at macports.org
Fri Jan 17 01:39:10 UTC 2025


#71855: mozjs52 @52.6.0_9: error: 'auto' not allowed in template parameter until
C++17
-------------------------+---------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.10.5
 Keywords:               |       Port:  mozjs52
-------------------------+---------------------
 Trying to upgrade mozjs52 results in a lot of errors that look like they
 might be due to a mismatch between the version of the C++ standard used in
 the icu headers and the one used to compile, for example:
 {{{
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_mozjs52/mozjs52/work/mozjs-52.6.0gnome1/js/src/obj/js/src/Unified_cpp_js_src0.cpp:20:
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_mozjs52/mozjs52/work/mozjs-52.6.0gnome1/js/src/builtin/Intl.cpp:27:
 In file included from /opt/local/include/unicode/ucal.h:14:
 In file included from /opt/local/include/unicode/uenum.h:25:
 /opt/local/include/unicode/localpointer.h:561:26: error: 'auto' not
 allowed in template parameter until C++17
 template <typename Type, auto closeFunction>
                          ^~~~
 }}}
 Attaching the log with the full output. I'm on x86_64 Big Sur with Xcode
 13.

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


More information about the macports-tickets mailing list