[1716] in Athena Bugs

home help back first fref pref prev next nref lref last post

hc 1.4

daemon@ATHENA.MIT.EDU (John Carr)
Sat Jan 28 20:48:51 1989

To: bugs@ATHENA.MIT.EDU
Date: Sat, 28 Jan 89 20:48:28 EST
From: John Carr <jfc@ATHENA.MIT.EDU>
The internal hc preprocessor/hc compiler combination can not compile the
following simple file:

% cat test.c
#include <sys/signal.h>
% cc -Hnocpp -c test.c

E "/usr/include/sys/signal.h",L139/C1:  (syntactic)  unexpected symbol:'}'
REPAIR:   '_far' was inserted before '}'@"/usr/include/sys/signal.h",L139/C1
Object module not generated.
% 

It is not clear whether it is a preprocessor or compiler bug; it works fine
with /lib/cpp (the default).  

Another point:

% cc -Hppo=test.out test.c            
E :     Undefined toggle:LONG_ENUMS
E :     Undefined toggle:DOUBLE_MATH_ONLY
2 user errors   No warnings
% 

I should not be able to cause an internal error like this without any unusual
command line switches.

  --John Carr

home help back first fref pref prev next nref lref last post