home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.help
- Path: sparky!uunet!mcsun!news.funet.fi!cs.joensuu.fi!hvaisane
- From: hvaisane@cs.joensuu.fi (H. Vaisanen)
- Subject: Problems with #include <unistd.h>
- Message-ID: <1992Aug28.074934.25241@cs.joensuu.fi>
- Organization: University of Joensuu
- Date: Fri, 28 Aug 1992 07:49:34 GMT
- Lines: 14
-
-
- I am using gcc version 2.2.2 in DECstation 3100 under Ultrix V4.2
-
- When I do #include <unistd.h> I get error messages for conflicting
- types of functions, like this:
-
-
- /usr/local/gnu/lib/g++-include/unistd.h:57:
- conflicting types for `int chown (const char *, short int, short int)'
- /usr/local/gnu/lib/g++-include/unistd.h:57:
- An argument type that has a default promotion
- /usr/local/gnu/lib/g++-include/unistd.h:57:
- can't match an empty parameter name list declaration.
- /usr/include/unistd.h:157: previous declaration of `int chown (...)'
-