[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: ljit_core.c:26: error: macro "getline" passed 3 arguments, but takes just 2
- From: clive <cwclive@...>
- Date: Thu, 10 May 2012 19:40:49 +0800 (CST)
The follow is my build system:
The debian version is Linux debian 2.6.32-5-686
The gcc version is gcc version 4.4.5
LuaJit version is 1.1.5
I build my project and get such error:
In file included from ljit_core.c:26:
/usr/include/stdio.h:653:33: error: macro "getline" passed 3 arguments, but takes just 2
I have search online, and find such solution
But i cann't use the "make ansi" method in my build.sh
Someone suggest me to use gcc 4.3, but i failed to downgrade the gcc.
So I come here for help.
How do i deal with this error?