[comp.sys.amiga.tech] Two defects in Aztec C 5.0

charles@hpcvca.CV.HP.COM (Charles Brown) (03/29/90)

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