home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / xenix / sco / 2589 < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.2 KB  |  32 lines

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