|
Luiz Henrique de Figueiredo wrote:
------ CODE SNIPPET ----- #include <stdio.h> extern "C" { #include <lua.h> }gcc lua.c -o xlua -llua -llualib ----- ERROR SNIPPET ----- lua.c:2: parse error before string constant lua.c:2: syntax error at '#' tokengcc is a C compiler, not C++. Try g++ instead. --lhf