home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / gcc / help / 2000 < prev    next >
Encoding:
Text File  |  1992-08-27  |  855 b   |  24 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!mcsun!news.funet.fi!cs.joensuu.fi!hvaisane
  3. From: hvaisane@cs.joensuu.fi (H. Vaisanen)
  4. Subject: Problems with #include <unistd.h>
  5. Message-ID: <1992Aug28.074934.25241@cs.joensuu.fi>
  6. Organization: University of Joensuu
  7. Date: Fri, 28 Aug 1992 07:49:34 GMT
  8. Lines: 14
  9.  
  10.  
  11. I am using gcc version 2.2.2 in DECstation 3100 under Ultrix V4.2
  12.  
  13. When I do #include <unistd.h> I get error messages for conflicting
  14. types of functions, like this:
  15.  
  16.  
  17. /usr/local/gnu/lib/g++-include/unistd.h:57:
  18.   conflicting types for `int  chown (const char *, short int, short int)'
  19. /usr/local/gnu/lib/g++-include/unistd.h:57:
  20.   An argument type that has a default promotion
  21. /usr/local/gnu/lib/g++-include/unistd.h:57:
  22.   can't match an empty parameter name list declaration.
  23. /usr/include/unistd.h:157: previous declaration of `int  chown (...)'
  24.