From: bob@henson.cc.wwu.edu (Bob Hayes)
Subject: CPP problems??
Date: Mon, 4 Oct 1993 15:50:22 GMT [thread overview]
Message-ID: <1993Oct4.155022.21031@henson.cc.wwu.edu> (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>
reply other threads:[~1993-10-04 15:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox