[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LNum on C++
- From: Javier Guerra Giraldez <javier@...>
- Date: Thu, 22 Jul 2010 14:48:14 -0500
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