Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mimsy!oddjob!gargoyle!ihnp4!cbosgd!cbterra!smk From: smk@cbterra.ATT.COM (Stephen Kennedy) Newsgroups: comp.sys.atari.8bit Subject: More Info on CC8 Message-ID: <3682@cbterra.ATT.COM> Date: Thu, 6-Aug-87 14:54:01 EDT Article-I.D.: cbterra.3682 Posted: Thu Aug 6 14:54:01 1987 Date-Received: Sat, 8-Aug-87 13:56:18 EDT Reply-To: smk@cbosgd.UUCP (Steve Kennedy) Distribution: world Organization: AT&T Medical Information Systems, Columbus Lines: 35 A few more things about this version of the compiler: I've noticed a couple of "features" CC8 has inherited from Deep Blue C. One is that the "for" statement will not accept null expressions. Thus, for ( ; ; ) needs to be written for ( 0; 1; 0 ) Ugh! Will be fixed next version... The other is that the compiler also insists that the expression to the left of a [ be of type pointer or array. However, the definition of C states that the expression "a[23]" is the same as "23[a]" (since it is also equivalent to "*(a + 23)"). This may not get fixed. A couple of other tidbits: o the maximum number of array bound that can be declared is 6 (7 if "array of ... array of int|char"). More and the compiler runs out of space for type descriptors. Don't tell me 6 isn't enough! :-) o The compiler understands "left curly", "right curly", and "tilde" (meaning whatever graphic or control character they happen to map to in ATASCII). o add "Constant expression may be used as case label" to the future features list. ---- Steve Kennedy ...!cbosgd!smk