[MacPorts] #67212: spdlog: error: 'pthread_threadid_np' was not declared in this scope

MacPorts noreply at macports.org
Sun Apr 9 11:25:03 UTC 2023


#67212: spdlog: error: 'pthread_threadid_np' was not declared in this scope
----------------------------------+----------------------
 Reporter:  barracuda156          |      Owner:  judaew
     Type:  defect                |     Status:  assigned
 Priority:  Normal                |  Milestone:
Component:  ports                 |    Version:  2.8.1
 Keywords:  snowleopard, leopard  |       Port:  spdlog
----------------------------------+----------------------
 {{{
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_spdlog/spdlog/work/spdlog-1.11.0/src/spdlog.cpp:12:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_spdlog/spdlog/work/spdlog-1.11.0/include/spdlog/details
 /os-inl.h: In function 'size_t spdlog::details::os::_thread_id()':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_spdlog/spdlog/work/spdlog-1.11.0/include/spdlog/details
 /os-inl.h:356:5: error: 'pthread_threadid_np' was not declared in this
 scope; did you mean 'pthread_is_threaded_np'?
   356 |     pthread_threadid_np(nullptr, &tid);
       |     ^~~~~~~~~~~~~~~~~~~
       |     pthread_is_threaded_np
 }}}

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


More information about the macports-tickets mailing list