[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] m2.lex broken ?
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] m2.lex broken ? |
Date: |
07 May 2003 14:10:26 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Iztok <address@hidden> writes:
> > gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H
> -I. -Igm2/gm2-compiler-boot -I../../gcc-3.2+gm2-20030412/gcc
> -I../../gcc-3.2+gm2-20030412/gcc/gm2/gm2-compiler-boot
> -I../../gcc-3.2+gm2-20030412/gcc/config
> -I../../gcc-3.2+gm2-20030412/gcc/../include
> -I../../gcc-3.2+gm2-20030412/gcc/gm2 -Igm2 -Igm2/gm2-compiler-boot
> -Igm2/gm2-libs-boot gm2/gm2-compiler/m2lex.c -o
> gm2/gm2-compiler-boot/m2lex-noggc.o
> ../../gcc-3.2+gm2-20030412/gcc/gm2/m2.lex:30:20: attempt to use
> poisoned "malloc"
> ../../gcc-3.2+gm2-20030412/gcc/gm2/m2.lex:32:20: attempt to use
> poisoned "strdup"
> ../../gcc-3.2+gm2-20030412/gcc/gm2/m2.lex:237: warning: no previous
> prototype for `yylex'
> ../../gcc-3.2+gm2-20030412/gcc/gm2/m2.lex:1084:25: attempt to use
> poisoned "malloc"
> ../../gcc-3.2+gm2-20030412/gcc/gm2/m2.lex:1102:25: attempt to use
> poisoned "realloc"
> ../../gcc-3.2+gm2-20030412/gcc/gm2/m2.lex:545: warning: function
> declaration isn't a prototype
> ../../gcc-3.2+gm2-20030412/gcc/gm2/m2.lex:580: warning: `yyunput'
> defined but not used
>
Hi,
it might be wise to remove the build/gcc/gm2 directory after upgrading
gm2 from cvs; then perform a ../gcc-3.2/configure ; make
This will force gm2 to build from a clean sheet - the bug above
might be due to an older m2lex.c being present, maybe..
ie
cd gcc-3.2/gcc
rm -rf gm2
cvs checkout GM2
cd ../../build/gcc
rm -rf gm2
cd ..
../gcc-3.2/configure
make
make install
Gaius
--
Gaius Mulley University of Glamorgan address@hidden