Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!mcsun!ukc!stl!robobar!ronald From: ronald@robobar.co.uk (Ronald S H Khoo) Newsgroups: comp.unix.xenix.sco Subject: Re: C-News ? Message-ID: <1991Apr30.101218.10473@robobar.co.uk> Date: 30 Apr 91 10:12:18 GMT References: <41@hlthnt.UUCP> Organization: Robobar Ltd., Perivale, Middx., ENGLAND. Lines: 20 sginn@hlthnt.UUCP (Steve Ginn) writes: > warning.c (30): error C2143: syntax error: missing ')' before ';' > warning.c (30): error C2143: syntax error: missing ';' before ';' > > 30 fprintf(stderr, "(%s)", strerror(saverrno)); SCO broke string.h by #define'ing strerror in /usr/include/string.h You can't do it like that. To fix: edit /usr/include/string.h and delete the line which says #define strerror(error) /* whatever */ up until the end of the definition. Then rerun "build" and make sure you tell it that you *don't* have strerror. The strerror() implementation in libfake/ is good enough for most normal uses. -- Ronald Khoo +44 81 991 1142 (O) +44 71 229 7741 (H)