lua-users home
lua-l archive

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


It does, of course.

I can't see where or why 'lua_ident' would be used, but I suppose someone
may have discovered it and be linking it in their build, so I guess it
should be left as is.



-----Original Message-----
From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On
Behalf Of Roberto Ierusalimschy
Sent: Friday, 15 March 2013 5:19 AM
To: Lua mailing list
Subject: Re: [ANN] Lua 5.2.2 (rc3) now available

> It's so minor - almost not worth mentioning...
> 
> There is a symbol in lapi.c called "lua_ident"; this is not referenced 
> in the module or any header file.  My C++ compiler warns that it 
> discards it (unused), although my C compiler retains it.
> 
> Missing a header declaration?

Maybe. Can you check whether adding the following to lua.h removes the
warning?


extern const char lua_ident[];


-- Roberto