lua-users home
lua-l archive

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


> [Lua 4.0/4.0.1]  I didn't check if this is ANSI C/C++ or not, but Borland
> C++ Builder 4.0 generates an error on the different declaration and
> definition in lcode.h/lcode.c

This is a bug in the compiler. Such declarations ("incomplete types")
are perfect ANSI C code. (I do not have the official standard for C++,
but I think they are correct in C++ too.)

-- Roberto