From lalo@hackandroll.org Mon May 08 17:27:16 2000
Return-Path: <lalo@hackandroll.org>
Received: (qmail 22842 invoked from network); 9 May 2000 00:16:02 -0000
Received: from unknown (10.1.10.26) by m3.onelist.org with QMQP; 9 May 2000 00:16:02 -0000
Received: from unknown (HELO terra.gf.com.br) (200.221.32.200) by mta1 with SMTP; 9 May 2000 00:16:00 -0000
Received: from lalo by terra.gf.com.br with local (Exim 2.05 #1 (Debian)) id 12oxgq-0000TP-00; Mon, 8 May 2000 21:15:56 -0300
Date: Mon, 8 May 2000 21:15:56 -0300
To: lojban@egroups.com
Subject: Parser does not parse, heh
Message-ID: <20000508211555.E715@hackandroll.org>
Mail-Followup-To: Lalo Martins <lalo@hackandroll.org>, lojban@egroups.com
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="sm4nu43k4a2Rpi4c"
Content-Disposition: inline
User-Agent: Mutt/1.1.9i
X-URL: http://www.webcom.com/lalo
From: Lalo Martins <lalo@hackandroll.org>

--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

lalo:~/falcon/src/lojban/parser> gcc -o parser.i386 *.c
print.c:9: initializer element is not constant

The line in question is:

static FILE *stream = stdout;

which is of course just plain wrong... stdout _can't_ be used
as an initializer.

I'm also contributing a Makefile - rather simple, but it works,
and using a Makefile at all helps because we don't have to
recompile the whole beast when one of the source files change.
It still doesn't deal with dependencies on the header files (so
if you change one header file you have to "rm *.o") but it's
already an improvement.


[]s,
|alo
+----
--
Hack and Roll ( http://www.hackandroll.org )
News for, uh, whatever it is that we are.


http://www.webcom.com/lalo mailto:lalo@hackandroll.org
pgp key in the personal page

Brazil of Darkness (RPG) --- http://zope.gf.com.br/BroDar

--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=Makefile

OBJS = absorb.o compound.o fabsorb.o filter.o getword.o glue.o grammar.o \
lerfu.o lex.o lexrulea.o lexruleb.o lexrulec.o lexruled.o lexrulee.o \
lexrulef.o lexruleg.o lexruleh.o lexrulei.o lexrulej.o lexrulek.o \
lexrulel.o lexrulem.o lexrulen.o lexruleo.o lexrulep.o lexruleq.o \
lexruler.o lexrules.o lexruleu.o lexrulev.o lexrulew.o lexruley.o \
mkcmavo.o node.o print.o queue.o rulename.o selmao.o termin.o token.o \
version.o

parser: $(OBJS)

--sm4nu43k4a2Rpi4c--

