lua-users home
lua-l archive

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


> Minor glitch: in lopcodes.c this definition:
> 
> const char *const luaP_opnames[] = {
> 
> won't work in C++ [...]

Are you sure? Isn't the "extern" declaration in lopcodes.h enough to
make it extern? Did you have problems with a particular C++ compiler?
(GNU C++ compiles that without a single warning...)

-- Roberto