V.4 cc bug
Ron Guilmette
rfg at lupine.ncd.com
Sun Jan 20 20:02:17 AEST 1991
People who have systems based on V.4 could help me by trying to compile
the following short test program and by E-mailing the results. (Please
indicate the source of your C compiler and your V.4 port and the type
of hardware that it runs on.)
If you get a compilation error from this (perfectly legal) ANSI C code,
then your C compiler has a bug.
typedef const char *cpt;
const char *p1;
cpt p2;
char c;
int main ()
{
p1 = &c; /* legal */
p2 = &c; /* also legal */
return 0;
}
More information about the Comp.bugs.sys5
mailing list