codegooglecom / libproxy

Automatically exported from code.google.com/p/libproxy
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Patch for building on OS X 10.9 with libc++ #204

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Fixes compile errors with asprintf_l et al. not being defined:

In file included from /src/macosx/libproxy-0.4.11/libproxy/url.cpp:31:
In file included from /usr/bin/../lib/c++/v1/sstream:174:
In file included from /usr/bin/../lib/c++/v1/ostream:132:
/usr/bin/../lib/c++/v1/locale:1934:20: error: use of undeclared identifier 
'asprintf_l'
            __nc = asprintf_l(&__nb, _LIBCPP_GET_C_LOCALE, __fmt, (int)__iob.precision(), __v);

Original issue reported on code.google.com by john.maguire on 5 Feb 2014 at 3:35

Attachments: