Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 8/28/84; site vecpyr.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!qantel!dual!vecpyr!greg
From: greg@vecpyr.UUCP (Greg Millar)
Newsgroups: net.micro.att
Subject: Re: Mult assgnmt in C stmnts on 7300
Message-ID: <163@vecpyr.UUCP>
Date: Tue, 16-Jul-85 00:21:01 EDT
Article-I.D.: vecpyr.163
Posted: Tue Jul 16 00:21:01 1985
Date-Received: Thu, 18-Jul-85 05:29:21 EDT
References: <3351@dartvax.UUCP>
Distribution: net
Organization: Visual Engineering, San Jose, Calif
Lines: 25

> coughs, and spits horribly on any statement that contains multiple assignment.
> 
>     stat->exp = stat->lvl = stat->sin = 0;
>     stat->blind = stat->vrg = stat->pal = FALSE;
>     throne = beyond = marsh = FALSE;
> 
> QUESTION:  Are multiple assignments in a single statement allowed under the
> Helsinki accord or is my C compiler (an AT&T I assume) just brain damaged?
> 

The Convergent Miniframe has the same problem (and a 7300 is a warmed over
and shrunk miniframe), so I suppose that cc bug hasn't been fixed yet.

You found the right work around though!

As a result of this bug, none of our code have multiple assignment statements.

		
			Greg Millar

			...{ucbvax,decwrl}!dual!vecpyr!greg
			Visual Engineering, Inc.  
			2680 N. First
			San Jose, CA 95134
			(408) 945-9055