home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 13284 < prev    next >
Encoding:
Text File  |  1992-09-04  |  2.2 KB  |  46 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!mskucher
  3. From: mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF])
  4. Subject: Re: IRIX 4.0.4 include bugs
  5. Message-ID: <Bu24E8.5H9@math.uwaterloo.ca>
  6. Organization: Math Faculty Computing Facility, University of Waterloo, Canada
  7. References: <Bu0nAA.B66@math.uwaterloo.ca> <pd887lg@zuni.esd.sgi.com>
  8. Date: Fri, 4 Sep 1992 14:03:42 GMT
  9. Lines: 35
  10.  
  11. olson@anchor.esd.sgi.com (Dave Olson) writes:
  12. >mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF]) writes:
  13. >
  14. >| This program:
  15. >| 
  16. >| #include <pwd.h>
  17. >| main()
  18. >| {
  19. >| }
  20. >| 
  21. >| ...produces three compilation warnings while it's reading the file
  22. >| "/usr/include/pwd.h".
  23. >
  24. >I don't have 4.0.4, but it works fine for me under 4.0.5.  What
  25. >warnings do you get, and what compiler flags are you using?
  26.  
  27. Using "cc -o x x.c":
  28.  
  29. accom: Warning 315: /usr/include/pwd.h, line 64: struct/union __file_s  declared within and limited to this function prototype. Any later function prototype type matching will fail.
  30.        extern struct passwd *    fgetpwent(struct __file_s *);
  31.        ---------------------------------------------------^
  32. accom: Warning 315: /usr/include/pwd.h, line 65: struct/union __file_s  declared within and limited to this function prototype. Any later function prototype type matching will fail.
  33.        extern int        putpwent(const struct passwd *, struct __file_s *);
  34.        -------------------------------------------------------------------------^
  35. accom: Warning 315: /usr/include/pwd.h, line 68: struct/union __file_s  declared within and limited to this function prototype. Any later function prototype type matching will fail.
  36.        extern struct passwd *    _pw_interpret(char *, int, struct __file_s *);
  37.        --------------------------------------------------------------------^
  38.  
  39. --
  40.  
  41. -- Murray S. Kucherawy ----------------------------------------+--------------
  42. Software Systems Co-op, Math Faculty Computing Facility [MFCF] | This is a
  43. University of Waterloo, Ontario, Canada                        | machine that
  44. E-mail: mskucherawy@{math,watdragon}.UWaterloo.ca              | goes PING!
  45. ---------------------------------------------------------------+--------------
  46.