Newsgroups: comp.sys.next
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!usenet
From: matt@karazm.math.uh.edu (Matt Emerson)
Subject: cc -bsd -traditional barfs on std include files (1.0a)
Message-ID: <1991Apr10.022255.17760@menudo.uh.edu>
Sender: usenet@menudo.uh.edu (USENET News System)
Nntp-Posting-Host: karazm.math.uh.edu
Organization: University of Houston -- Department of Mathematics
Date: Wed, 10 Apr 1991 02:22:55 GMT

Just grabbed a bunch of BSD games off uunet, including warp. Most compiled
with no fuss, but warp needed cc -bsd -traditional (mainly for old-style
preprocessor behavior).

Anyway, stdio.h and ctype.h both elicited parse errors at places where they
declared something to be const char *, namely fdopen in stdio.h
and _ctype_[] in ctype.h. I nuked those const's and everything went ok.

Even "hello, world" wouldn't compile with cc -bsd -traditional. An oversight
which I trust is fixed in 2.[01].  I guess I ought to try to upgrade before
OD costs double again.

Back to playing hangman and robots...especially robots...

--
Matt Emerson
matt@karazm.math.uh.edu
