<div>Lua is written in the common subset of C89 and C++. You can compile it as C++ out of the box. At least, that's what the authors claim here: <a href="http://www.lua.org/download.html">http://www.lua.org/download.html</a></div>

<div><br></div><div>I haven't tested it.</div><br clear="all">-- Pierre-Yves<br>
<br><br><div class="gmail_quote">On Thu, Oct 14, 2010 at 00:26, Eugene Sandulenko <span dir="ltr"><<a href="mailto:sev@scummvm.org">sev@scummvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

On Wed, 13 Oct 2010 22:41:12 +0200<br>
<div class="im">Max Horn <<a href="mailto:max@quendi.de">max@quendi.de</a>> wrote:<br>
</div><div class="im">> > Again, Lua could potetnially be put outside of the tree, it is not a<br>
> > problem, though we have to lock to that specific version because of<br>
> > Pluto, persistency library.<br>
><br>
> Aha. And I guess that lib is not directly "standard" either... Well<br>
> then, I assume for now it is the easiest to keep this. I wonder if<br>
> this "pluto" thing can be replaced with something more standard /<br>
> more compatible with current Lua versions in the future?<br>
</div>The problem is not with compatibility but with nature of the task.<br>
Pluto library stores and restores complete internal Lua state, and of<br>
course that strictly depends on the interpreter internals. I hardly see<br>
what else we can do here.<br>
<br>
However, residual also uses Lua, but implements save/restore facility<br>
by its own.<br>
<br>
Since it seems that we agree to keep Lua in place, I recommend then<br>
just rename it to .cpp, fix compilation errors and remove extern "C"<br>
here and there. Also probably put Lua into separate namespace so our<br>
global one will not get polluted.<br>
<font color="#888888"><br>
<br>
Eugene<br>
</font><div><div></div><div class="h5"><br>
------------------------------------------------------------------------------<br>
Beautiful is writing same markup. Internet Explorer 9 supports<br>
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.<br>
Spend less time writing and  rewriting code and more time creating great<br>
experiences on the web. Be a part of the beta today.<br>
<a href="http://p.sf.net/sfu/beautyoftheweb" target="_blank">http://p.sf.net/sfu/beautyoftheweb</a><br>
_______________________________________________<br>
Scummvm-devel mailing list<br>
<a href="mailto:Scummvm-devel@lists.sourceforge.net">Scummvm-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/scummvm-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/scummvm-devel</a><br>
</div></div></blockquote></div><br>