In the 5.3.3 release, lua/lstrlib.cc:936:
char *ppoint = memchr(buff, point, nb);
is not valid c++ code. This should be fixed with a c-style cast:
@@ -935,3 +935,3 @@ static void checkdp (char *buff, int nb) {
char point = lua_getlocaledecpoint(); /* try locale point */
- char *ppoint = memchr(buff, point, nb);
+ char *ppoint = (char *)(memchr(buff, point, nb));
if (ppoint) *ppoint = '.'; /* change it to a dot */
-- Irfan