http://sourceware.org/bugzilla/show_bug.cgi?id=12170
Summary: compress.c compilation fails for x86_64-*-mingw* Product: binutils Version: 2.21 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassig...@sources.redhat.com ReportedBy: seze...@gmail.com Cross-build of today's snapshot of binutils for x86_64-w64-mingw32 target on a i686-pc-linux host failed due to -Werror from compress.c: cc1: warnings being treated as errors ../../binutils-cvs/bfd/compress.c: In function 'bfd_compress_section_contents': ../../binutils-cvs/bfd/compress.c:106: error: passing argument 2 of 'compress' from incompatible pointer type /usr/include/zlib.h:1009: note: expected 'uLongf *' but argument is of type 'bfd_size_type *' uLongf of zlib.h is unsigned long, but bfd_size_type for win64 is unsigned long long, hence the warning->error. Same snapshot surely compiles for i686-*-mingw32. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils