Article View: comp.sys.amiga.tech
Article #3124Two defects in Aztec C 5.0 (sort of)
From: Charles Brown
Date: Thu, 29 Mar 1990 01:28
Date: Thu, 29 Mar 1990 01:28
26 lines
1407 bytes
1407 bytes
1. Aztec 5.0 make converts the $@ macro to lower case. This is not a
serious bug on the Amiga, but it is irritating.
2. The following declaration causes size to be undefined within
main() during the link:
char size[10];
main()
{
extern char size[];
}
Manx claims that this code is undefined in ANSI C. That may be
true, but this code was OK under K&R. Furthermore there is no
reason to generate code which is guaranteed to fail to link.
The second edition of K&R (the one that says ANSI C on the cover)
has a program with this construct on page 32. I have also tried
this code on several other compilers (ANSI and not). Only Aztec C
5.0 had problems.
It seems unlikely that Manx will be fixing either of these problems.
--
Charles Brown charles@cv.hp.com or charles%hpcvca@hplabs.hp.com
or hplabs!hpcvca!charles or "Hey you!"
Not representing my employer.
"The guy sure looks like plant food to me." Little Shop of Horror
Technical Details
Message-ID:
<1410045@hpcvca.CV.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-sdd!hp-pcd!hpcvca!charlesShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-sdd!hp-pcd!hpcvca!charles From: charles@hpcvca.CV.HP.COM (Charles Brown) Newsgroups: comp.sys.amiga.tech Subject: Two defects in Aztec C 5.0 (sort of) Message-ID: <1410045@hpcvca.CV.HP.COM> Date: 29 Mar 90 01:28:40 GMT Organization: Hewlett-Packard Co., Corvallis, Oregon Lines: 26