[MacPorts] #60655: flatbuffers: error: use of undeclared identifier 'asprintf_l'

MacPorts noreply at macports.org
Fri Aug 18 23:17:18 UTC 2023


#60655: flatbuffers: error: use of undeclared identifier 'asprintf_l'
--------------------------+--------------------------
  Reporter:  ryandesign   |      Owner:  herbygillot
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.2
Resolution:               |   Keywords:  mountainlion
      Port:  flatbuffers  |
--------------------------+--------------------------
Changes (by mascguy):

 * cc: judaew (added)


Comment:

 Add another port to the list: `abseil`. We're now seeing the following,
 for 10.8 and earlier:

 {{{
 In file included from
 /opt/local/libexec/llvm-16/bin/../include/c++/v1/ostream:172:
 /opt/local/libexec/llvm-16/bin/../include/c++/v1/locale:1627:16: error:
 use of undeclared identifier 'snprintf_l'; did you mean 'vswprintf_l'?
     int __nc = __libcpp_snprintf_l(__nar, sizeof(__nar),
 _LIBCPP_GET_C_LOCALE, "%p", __v);
                ^
 /opt/local/libexec/llvm-16/bin/../include/c++/v1/__bsd_locale_defaults.h:32:61:
 note: expanded from macro '__libcpp_snprintf_l'
 #define __libcpp_snprintf_l(...)
 snprintf_l(__VA_ARGS__)
                                                             ^
 /usr/include/xlocale/_wchar.h:54:5: note: 'vswprintf_l' declared here
 int     vswprintf_l(wchar_t * __restrict, size_t n, locale_t,
         ^
 }}}

 I'll add a separate ticket for the above. But just an FYI...

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


More information about the macports-tickets mailing list