gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] m2.lex broken ?


From: Iztok
Subject: Re: [Gm2] m2.lex broken ?
Date: Wed, 07 May 2003 17:17:22 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903

Gaius Mulley wrote:

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


Nope !

I will try with removing everything under ....../build and configure/make.

I.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]