[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lightning] newlib (cygwin) patch
From: |
Reini Urban |
Subject: |
[Lightning] newlib (cygwin) patch |
Date: |
Fri, 8 Feb 2008 13:22:40 +0100 |
newlib's _ansi.h already defines _VOID as void
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lightning/i386 -g -O2
-MT i386-dis.o -MD -MP -MF ".deps/i386-dis.Tpo"
c -o i386-dis.o i386-dis.c; \
then mv -f ".deps/i386-dis.Tpo" ".deps/i386-dis.Po"; else rm
-f ".deps/i386-dis.Tpo"; exit 1; fi
In file included from ../lightning/asm.h:46,
from ../lightning.h:44,
from sysdep.h:4,
from i386-dis.c:36:
../lightning/i386/asm-i386.h:245:1: warning: "_VOID" redefined
In file included from /usr/include/stdio.h:29,
from dis-asm.h:12,
from i386-dis.c:35:
/usr/include/_ansi.h:34:1: warning: this is the location of the
previous definition
In file included from ../lightning.h:44,
from sysdep.h:4,
from i386-dis.c:36:
...
In file included from ../lightning/funcs-common.h:36,
from ../lightning.h:49,
from sysdep.h:4,
from i386-dis.c:36:
/usr/include/stdlib.h:61: error: parse error before "abort"
In file included from ../lightning/funcs-common.h:36,
from ../lightning.h:49,
from sysdep.h:4,
from i386-dis.c:36:
/usr/include/stdlib.h:63:43: macro "_VOID" passed 1 arguments, but takes just 0
/usr/include/stdlib.h:63:43: macro "_VOID" passed 1 arguments, but takes just 0
/usr/include/stdlib.h:79: error: parse error before "exit"
/usr/include/stdlib.h:80: error: parse error before "free"
/usr/include/stdlib.h:104: error: parse error before "qsort"
/usr/include/stdlib.h:107: error: parse error before "srand"
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://spacemovie.mur.at/ http://helsinki.at/
_void-newlib.patch
Description: Binary data
- [Lightning] newlib (cygwin) patch,
Reini Urban <=