From sentto-44114-2607-mark=kli.org@returns.onelist.com Tue May 09 00:26:21 2000 Return-Path: Delivered-To: shoulson-kli@meson.org Received: (qmail 23155 invoked from network); 9 May 2000 00:26:20 -0000 Received: from zash.lupine.org (205.186.156.18) by pi.meson.org with SMTP; 9 May 2000 00:26:20 -0000 Received: (qmail 8655 invoked by uid 40001); 9 May 2000 00:27:23 -0000 Delivered-To: kli-mark@kli.org Received: (qmail 8652 invoked from network); 9 May 2000 00:27:22 -0000 Received: from hh.egroups.com (208.50.144.88) by zash.lupine.org with SMTP; 9 May 2000 00:27:22 -0000 X-eGroups-Return: sentto-44114-2607-mark=kli.org@returns.onelist.com Received: from [10.1.10.37] by hh.egroups.com with NNFMP; 09 May 2000 00:27:18 -0000 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 To: lojban@egroups.com Message-ID: <20000508211555.E715@hackandroll.org> Mail-Followup-To: Lalo Martins , lojban@egroups.com User-Agent: Mutt/1.1.9i X-URL: http://www.webcom.com/lalo From: Lalo Martins MIME-Version: 1.0 Mailing-List: list lojban@egroups.com; contact lojban-owner@egroups.com Delivered-To: mailing list lojban@egroups.com Precedence: bulk List-Unsubscribe: Date: Mon, 8 May 2000 21:15:56 -0300 Subject: [lojban] Parser does not parse, heh Content-Type: multipart/mixed; boundary="sm4nu43k4a2Rpi4c" --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 ------------------------------------------------------------------------ WRITERS WANTED! Themestream allows ALL writers to publish their articles on the Web, reach thousands of interested readers, and get paid in cash for their work. Click below: http://click.egroups.com/1/3840/3/_/17627/_/957832036/ ------------------------------------------------------------------------ To unsubscribe, send mail to lojban-unsubscribe@onelist.com --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--