Bruno Haible br...@clisp.org writes:
* test-gethostname.c:24: warning: initialization from incompatible pointer
type
Similarly:
- POSIX: int gethostname(char *, size_t);
- OSF/1: int gethostname(char *, int);
Likewise.
* test-inet_ntop.c:24: warning: initialization from incompatible
Hi Simon,
* test-gethostname.c:24: warning: initialization from incompatible pointer
type
Similarly:
- POSIX: int gethostname(char *, size_t);
- OSF/1: int gethostname(char *, int);
Likewise.
* test-inet_ntop.c:24: warning: initialization from incompatible pointer
type
On OSF/1 5.1 I'm also seeing these gcc warnings:
* test-getaddrinfo.c:26: warning: initialization from incompatible pointer type
This one is because the gai_strerror declaration is different from POSIX:
- POSIX: const char *gai_strerror(int);
- OSF/1: char *gai_strerror(int);
I think