================
Comment at: include/support/newlib/xlocale.h:36
@@ +35,3 @@
+static inline locale_t duplocale(locale_t) {
+  return nullptr;
+}
----------------
danalbert wrote:
> Can't use nullptr here (need to be able to include from pre-C++11 code).
Good point. I'll change that to NULL for the time being.

In a separate patch I've got some "healthier" stubs which fix a few of the 
libc++ tests that want the C locale (i.e. 
localization/locales/locale/locale.statics/classic.pass.cpp ).

http://reviews.llvm.org/D5385



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to