Newsgroups: news.software.b
Path: utzoo!henry
From: henry@zoo.toronto.edu (Henry Spencer)
Subject: C News vs. Xenix
Message-ID: <1990Dec16.234811.6293@zoo.toronto.edu>
Organization: U of Toronto Zoology
Date: Sun, 16 Dec 90 23:48:11 GMT

As of the latest patch, we're seeing reports that compiling C News under
Xenix leads to peculiar errors of the form:

> warning.c(19) : error C2143: syntax error : missing ';' before 'storage class'

My tentative diagnosis is "your supplier may claim that your <string.h> is
ANSI-conforming, but it isn't".  The code in warning.c is trying to use
the ANSI function strerror(), and something in <string.h> is fouling up
magnificently.  If you hit this, try telling build that (a) you do not have
an ANSI-conforming <string.h> and (b) you don't have strerror() either.
I have not yet seen enough details to confirm diagnosis or fix.
-- 
"The average pointer, statistically,    |Henry Spencer at U of Toronto Zoology
points somewhere in X." -Hugh Redelmeier| henry@zoo.toronto.edu   utzoo!henry
