This is the mail archive of the newlib@sourceware.cygnus.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

conflicting swab definitions


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]