This is the mail archive of the
newlib@sourceware.cygnus.com
mailing list for the newlib project.
conflicting swab definitions
- To: newlib at sourceware dot cygnus dot com
- Subject: conflicting swab definitions
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Thu, 9 Mar 2000 14:52:55 -0500
Hi,
There is a swab definition in string.h that conflicts with one in
libc/include/sys/unistd.h.
In file included from /cygnus/src/sourceware/winsup/cygwin/winsup.h:31,
from /cygnus/src/sourceware/winsup/cygwin/sysconf.cc:15:
/cygnus/src/sourceware/newlib/libc/include/string.h:72: declaration of C function `void swab (const void *, void *, unsigned int)' conflicts with
/cygnus/src/sourceware/newlib/libc/include/sys/unistd.h:63: previous declaration `void swab (const void *, void *, long int)' here
In file included from /cygnus/src/sourceware/newlib/libc/include/unistd.h:4,
from /cygnus/src/sourceware/winsup/cygwin/syscalls.cc:25:
/cygnus/src/sourceware/newlib/libc/include/sys/unistd.h:63: declaration of C function `void swab (const void *, void *, long int)' conflicts with
/cygnus/src/sourceware/newlib/libc/include/string.h:72: previous declaration `void swab (const void *, void *, unsigned int)' here
cgf