[7362] in Athena Bugs
rt 7.2R: hc2
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Wed Mar 27 03:04:31 1991
To: bugs@ATHENA.MIT.EDU
Cc: athena-ws@ATHENA.MIT.EDU
Date: Wed, 27 Mar 91 03:03:40 EST
From: Marc Horowitz <marc@ATHENA.MIT.EDU>
System name: bill-the-cat
Type and version: RTPC-ROMPC 7.2R
Display type: apa16
What were you trying to do?
compile a program
What's wrong:
This program conditionally includes stdlib.h if __STDC__ is
defined. This is entirely reasonable. However, our system is not
configured with ansi header files to match the ansi compiler, so it breaks.
What should have happened:
Someone should spend the time to build a set of ansi header
files. This may have already been done. IMHO, this should be a
high-priority item for someone. Third-party software will begin to
assume that __STDC__ means what it should, and will not build on
athena because of that. This is Bad.
This bug is specifically for hc2 on the rt. I haven't tested
the vax or decmips cc. Even if the compiler is not fully ansi
compliant, I highly recommend that ansi headers be developed, since
many users (and part of the release) build with ansi compilers
(specifically GCC). When vendor platforms now ship with
ansi-compliant compilers and header files, it is unacceptable for
Athena not to provide these in a research environment.
Please describe any relevant documentation references:
ANS X3J11