* CPP problems??
@ 1993-10-04 15:50 Bob Hayes
0 siblings, 0 replies; only message in thread
From: Bob Hayes @ 1993-10-04 15:50 UTC (permalink / raw)
Machine: DEC 300/300 alpha -- OSF 1.3 OS
I am trying to build the suit of tools known as "magic" used
for VLSI design. It is straightforward k&R "C" for the most
part. When I try the compile, I get errors flagged in the header
files, eg:
extern char *( blah blah
^^^^^^ syntax error; unexpected
another zinger:
-in an 'if' clause with an "else", the cpp whines about a syntax
error at the else -- changing the "else"
to "elseif" makes cpp happy ?!?!!
I have tried -traditional, -std0 ( and other) cflags but there
seems to be something more going on here.
In one instance a declaration causing an error ( an unexpected
charactor read error ), I inserted a dummy var ( named "int dddummy"),
just before the error to change the flow of the cpp parsing.
The syntax error stayed the same, but another up popped 80 lines later related
to a var named " char *xyzdummy", giving me a type conflict referencing
my dddummy var???
This same compiler does fine on some other ansi C source.
What flags am I missing here??
Is there a problem with the installation?
Is this operator error??
Thanks in advance..
best reply -- <bob@cs.wwu.edu>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1993-10-04 15:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-10-04 15:50 CPP problems?? Bob Hayes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox