neal@cs.rochester.edu (Neal Gafter) (05/18/89)
The Lattice 5.02 compiler gives me a strange error message when I try
to compile the enclosed program. Perhaps you can see something wrong
with it. It does not really do anything useful, it is just a tiny
slice of a larger, real program which doesn't seem to compile for the
same reason. The cryptic error message is:
Compiling foo.c
CXERR: 26, Line: 0
The source file is:
-------------------- Cut Here --------------------
void m(char **q) {
char**p=q,*c;
while(c= *p++){}
}
--
Arpa: neal@cs.rochester.edu (Neal Gafter)
UUCP: ...{rocksvax|allegra|decvax}!rochester!neal
USnail: Department of Computer Science, U. of Rochester, N.Y. 14627
phone: (716) 275 - 1348 (office) or (716) 473 - 2361 (home)
ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) (05/22/89)
In article <1989May18.025301.11726@cs.rochester.edu> neal@cs.rochester.edu (Neal Gafter) writes: >The Lattice 5.02 compiler gives me a strange error message when I try >to compile the enclosed program. [ ... ] > >-------------------- Cut Here -------------------- >void m(char **q) { > char**p=q,*c; > while(c= *p++){} >} ^^ Replace those with a semicolon, and the compiler should be happy. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Leo L. Schwab -- The Guy in The Cape INET: well!ewhac@ucbvax.Berkeley.EDU \_ -_ Recumbent Bikes: UUCP: pacbell > !{well,unicom}!ewhac O----^o The Only Way To Fly. hplabs / (pronounced "AE-wack") "Work FOR? I don't work FOR anybody! I'm just having fun." -- The Doctor