Newsgroups: news.software.b,comp.sys.ultrix Path: utzoo!geoff From: geoff@zoo.toronto.edu (Geoffrey Collyer) Subject: Re: Compiler error Message-ID: <1990Nov15.010643.12652@zoo.toronto.edu> Organization: U of Toronto Zoology References: <1990Nov14.233733.8709@engin.umich.edu> Date: Thu, 15 Nov 90 01:06:43 GMT To quote notebook/problems: --- .SH Values of Logical Operators .PP There seem to be compilers, e.g. the Ultrix one on DEC's new RISC workstations, that go into convulsions when they see something like .DS *p++ = isascii(c) && isalnum(c); .DE because they don't know how to generate a numeric value for `&&', or because they don't know how to turn that value into a `char'. One or two places in C News use constructs like this. If you run into this, you might want to try replacing the right-hand side with something like ``(...)\ ?\ 1\ :\ 0'' to get the troublesome operator back into a conditional context. --- The current DEC MIPS compiler is broken. Be sure to file an SPR so that DEC fixes this. -- Geoff Collyer utzoo!geoff, zoo.toronto.edu!geoff