On Wed, 24 Nov 2004 19:03:12 +0200, Cristian Bidea
<[EMAIL PROTECTED]> wrote:
> flex -i parse_cfg.l
> gcc -O2 -Wall -g -I./include -I./include-glibc -include
> ./include-glibc/glibc-bugs.h -I/usr/src/linux/include
> -DVERSION=3D'"0.2.4-pre1_cv-1_quantum-1536"' -c lex.yy.c
> lex.yy.c:867:25: macro "yywrap" passed 1 arguments, but takes just 0
> lex.yy.c:1875: warning: `yyunput' defined but not used
> make: *** [lex.yy.o] Error 1
>=20
> ------------------
>=20
> Incerc sa compilez htb-tools-0.2.4-pre1_cv-quantum si obtine eroarea
> de mai sus. Stiti ce se intampla? Unde as putea sa caut cauza?
>=20
> Linux version 2.4.18-bf2.4 (gcc version 2.95.4 20011002 (Debian prereleas=
e))
> ii flex 2.5.31-29 A fast lexical analyzer generator.
>=20
> Multumesc anticipat!
>=20
> ---
> Detalii despre listele noastre de mail: http://www.lug.ro/
>=20
>=20
Citez ce zice apt-get (la upgrade stable=3D>testing):
This version of Flex is a major upgrade from previous versions. There =
=E2=94=82
=E2=94=82 have been extensive changes. Flex scanners are now reenterant, y=
ou may =E2=94=82
=E2=94=82 have multiple scanners in the same program with differing sets o=
f =E2=94=82
=E2=94=82 defaults, and they play nicer with modern C and C++ compilers. T=
he flip =E2=94=82
=E2=94=82 side is that Flex no longer conforms to the POSIX lex behaviour,=
and the =E2=94=82
=E2=94=82 scanners require conforming implementations when flex is used in=
ANSI C =E2=94=82
=E2=94=82 mode. The package flex-old provides the same behaviour as versio=
n 2.5.4a =E2=94=82
=E2=94=82 of Flex. =
=E2=94=82
=E2=94=82 =
=E2=94=82
=E2=94=82 Please make sure you are prepared for these changes in Flex befo=
re =E2=94=82
=E2=94=82 continuing with its upgrade.=20
Cu flexul anterior mergea :)
Mihai
---
Detalii despre listele noastre de mail: http://www.lug.ro/