lua-users home
lua-l archive

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


Hi,

i'm trying to help recompile a C++ application on openWrt.  the
system-included lua libraries have the LNum patch applied, which seems
a good choice; but it's firing an error:

 #error "Need C99 for 'float' (use '--std=c99' or similar)"

checking lnum_config.h, it demands very specific C versions; but when
g++ sees the 'extern "C" {}' keyword, it seems to be switching to C89.
 is any way to make it use C99 instead?

i don't want to recompile the included openWrt libraries, so compiling
the headers as C++ doesn't seem to be an option.

any ideas?

-- 
Javier