home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.xenix.sco
- Path: sparky!uunet!world!ahmcs
- From: ahmcs@world.std.com (Alan H Mintz)
- Subject: Re: dirent and strerror problems in SCO XENIX 2.3?
- Message-ID: <Bs4vLC.1JD@world.std.com>
- Organization: The World Public Access UNIX, Brookline, MA
- References: <466@ahmcs.mq.com> <MJN.92Jul25230735@pseudo.uucp>
- Date: Wed, 29 Jul 1992 04:39:12 GMT
- Lines: 21
-
- In article <MJN.92Jul25230735@pseudo.uucp> mjn@pseudo.uucp (Murray Nesbitt) writes:
- >In article <466@ahmcs.mq.com> alan@ahmcs.mq.com (Alan Mintz) writes:
- >> [ XENIX strerror macro causes parse problems ]
- >
- >Look more closely at the output of cpp.
- >
- >This is how the macro strerror() is defined in my original string.h
- >(Xenix 2.3.2):
- >
- > #define strerror(err) (sys_errlist[err]);
- >
- >Notice the semi-colon at the end. Obviously, this causes problems
- ...
- >Delete the trailing semi from string.h (or have your sysadmin do it),
- >and you shouldn't get bitten by this one again.
-
- Which I did. I forgot about /usr/local/lib/gcc-include/string.h, though,
- which I discovered when I ran it through gcc-cpp instead :-)
- --
- < Alan H. Mintz | alan@mq.mq.com | ...!uunet!ahmcs!mq!alan BEST PATH >
- < OR | ahmcs@world.std.com | ...!uunet!world.std.com!ahmcs >
-