lua-users home
lua-l archive

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

>> Would it be acceptable to put #ifdef-based 'guards' both on the C and the C++
>> #include files, to warn about file inclusion inconsistent with compiling 
>> mode?

Misunderstood you there, sorry.  It's an option.  If I'm
correct though, the inclusion of lua.h in a C++ project is
not meant to generate even a warning, because you could just
compile the lua distrib in C++ mode...