[PATCH] [libc++] Support newlib as libc++'s C library [locale part]

Marshall Clow mclow.lists at gmail.com
Wed Sep 17 11:16:46 PDT 2014


================
Comment at: include/support/newlib/xlocale.h:64
@@ +63,3 @@
+
+static inline int isdigit_l(char c, locale_t l) {
+   (void) l;
----------------
Comment lost the first time. Sigh.

this should be written as:
     `static inline int isdigit_l(char c, locale_t)`

You can't use the second parameter if you don't name it.

http://reviews.llvm.org/D5385






More information about the cfe-commits mailing list