Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!brl-tgr!ron
From: ron@brl-tgr.ARPA (Ron Natalie )
Newsgroups: net.lang.c
Subject: Re: Lattice/UNIX incompatibility
Message-ID: <6971@brl-tgr.ARPA>
Date: Fri, 4-Jan-85 03:07:51 EST
Article-I.D.: brl-tgr.6971
Posted: Fri Jan  4 03:07:51 1985
Date-Received: Sat, 5-Jan-85 03:06:19 EST
References: <345@rna.UUCP>
Organization: Ballistic Research Lab
Lines: 21

> 
> 	7. Identical strings are stored together.  (I doubt that
> this would cause many problems.)
> 
Boy does this cause problems.  My application overwrites the string.
When I wanted to do it twice I did something like
	char	*str1 = "../../..";
	char	*str2 = "../../..";

> 	12.  Multiple character constants (e.g. 'aa') (stored in ints or
> longs) are allowed.  This feature probably shouldn't be used if
> you want to port programs from Lattice to the real world, but I
> doubt it would make it harder to port from real to Lattice.
> 
Character constants are INTS.  Most compilers allow you to use as may
chars in there constant as would fill out an int.

The next problem is that it doesn't allow functions returning char, but
it bitches when you try to return a char in an int function.

-Ron