lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


A few minor change requests are listed below.

luaconf.h, line 73.  Change:
   #define _CRT_SECURE_NO_WARNINGS  /* avoid warnings about ANSI C functions */
To:
   #if !defined(_CRT_SECURE_NO_WARNINGS)
   #define _CRT_SECURE_NO_WARNINGS  /* avoid warnings about ANSI C functions */
   #endif
Explanation:  With an older Microsoft compiler, if _CRT_SECURE_NO_WARNINGS is defined in the command line options, the compiler complains that _CRT_SECURE_NO_WARNINGS is redefined in luaconf.h.  If _CRT_SECURE_NO_WARNINGS is not defined on the command line, the compiler complains that 'getenv' is unsafe because it is referenced in stdlib.h which is included before luaconf.h.

lobject.c, line 321.  Change:
   buff[UTF8BUFFSZ - (n++)] = 0x80 | (x & 0x3f);  /* add continuation byte */
To:
   buff[UTF8BUFFSZ - (n++)] = (char)(0x80 | (x & 0x3f));  /* add continuation byte */
Explanation:  Prevents compiler warning about possible loss of data.

lstrlib.c, line 1139.  Change:
   buff[islittle ? i : size - 1 - i] = (n & MC);
To:
   buff[islittle ? i : size - 1 - i] = (char)(n & MC);
Explanation:  Prevents compiler warning about possible loss of data.

lstrlib.c, line 1142.  Change:
   buff[islittle ? i : size - 1 - i] = (n & MC);
To:
   buff[islittle ? i : size - 1 - i] = (char)(n & MC);
Explanation:  Prevents compiler warning about possible loss of data.

--EN

-----Original Message-----
From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On Behalf Of Luiz Henrique de Figueiredo
Sent: Thursday, 23 October, 2014 08:47
To: Lua mailing list
Subject: Re: [ANN] Lua 5.3.0 (beta) now available

> After this beta will the next release be the final version?

Yes. But it will go through a cycle of release candidates to remove any remaining glitches.

Now is the time to remind us of any glitches you have found in Lua 5.2 or to report new ones in both 5.2 and 5.3. In particular, problems in the Makefiles and in the documentation.