[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lzip-bug] building lzip-1.7 with mingw32 fails, with cygwin pass
From: |
Antonio Diaz Diaz |
Subject: |
Re: [Lzip-bug] building lzip-1.7 with mingw32 fails, with cygwin pass |
Date: |
Wed, 12 Aug 2009 20:46:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Hello Wolfgang, thank you very much for this build report.
Wolfgang Buechel wrote:
Building lzip-1.7 with mingw (gcc-4.4.0) fails with the error message
at bottom. Building with cygwin (mingw-mode, gcc-4.4.0) passes.
I'll release shortly lzip-1.8-rc2 with the 3 cygwin warnings fixed. The
mingw errors seem to be bugs or shortcomings in the C library or in
mingw itself.
../source/decoder.cc:101: warning: unknown conversion type character
'l' in format
This is because fprintf is not able to print long long ints.
../source/main.cc:255: error: 'S_ISSOCK' was not declared in this scope
S_ISSOCK should be defined in sys/stat.h. Same for S_IRGRP, S_IROTH and
fchmod.
../source/main.cc:361: error: 'fchown' was not declared in this scope
fchown should be defined in unistd.h
../source/main.cc:554: error: 'SIGHUP' was not declared in this scope
SIGHUP should be defined in signal.h. (I have corrected 1.8-rc2 to
include csignal instead).
Best regards,
Antonio.