Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!sirius.ucs.adelaide.edu.au!adam.adelaide.edu.au!phil From: phil@adam.adelaide.edu.au (Phil Kernick) Newsgroups: comp.sys.amiga.tech Subject: Bugs in Lattice C 5.05 Summary: Bug in Lattice/SAS C 5.05 Keywords: SAS C Lattice Bugs 5.05 Message-ID: Date: 31 Oct 90 00:18:02 GMT Sender: news@ucs.adelaide.edu.au Distribution: comp Organization: University of Adelaide Lines: 32 Nntp-Posting-Host: adam.adelaide.edu.au I have found the following bug in Lattice/SAS C 5.05 and wonder if it is fixed in 5.10 or if someone can give me a workaround (can anybody in SAS technical support hear me out there ????). test.c -- main() { puts(FUBAR); } -- compile with the following line > lc -dFUBAR="hello" test.c and it all falls down with lc1 crashing and giving the error Parameters after file name ignored. It all fails because of the quotes in the -d option, so my question is how do you use the -d option if the symbol has imbedded quotes (and don't say add the line #define FUBAR "hello" to the top of the source because that is *not* what I want in this application). Thanks in advance, Phil. -- Phil Kernick EMail: phil@adam.adelaide.edu.au Departmental Engineer Phone: +618 228 5914 Dept. of Psychology Fax: +618 224 0464 University of Adelaide Mail: GPO Box 498 Adelaide SA 5001