Добро пожаловать, Гость. Пожалуйста авторизуйтесь здесь.
FGHIGate на GaNJa NeTWoRK ST@Ti0N - Просмотр сообщения в эхоконференции RU.HUSKY
Введите FGHI ссылку:


Присутствуют сообщения из эхоконференции RU.HUSKY с датами от 16 Jul 13 10:00:06 до 09 Aug 24 22:04:26, всего сообщений: 5336
Ответить на сообщение К списку сообщений Предыдущее сообщение Следующее сообщение
= Сообщение: 802 из 5336 ========================================== RU.HUSKY =
От   : Alexander N. Skovpen             2:5020/9696        30 Nov 14 15:12:48
Кому : Alexey Vissarionov                                  30 Nov 14 15:12:48
Тема : hptzip
FGHI : area://RU.HUSKY?msgid=2:5020/9696+547b0a0d
На   : area://RU.HUSKY?msgid=2:5020/545+547aea9b
= Кодировка сообщения определена как: CP866 ==================================
Ответ: area://RU.HUSKY?msgid=2:5020/545+547b18a3
==============================================================================
Hello Alexey!

30 Nov 14 12:59, you wrote to you:

AV>>>> Попробуй `cvs up` и пересобрать все (начиная с huskylib).
AS>>> оно собралось, когда я закомментировал следующую конструкцию:
AS>>>         #ifndef __USE_FILE_OFFSET64
AS>>>                 #define __USE_FILE_OFFSET64
AS>>>         #endif
AS>>> видимо этот костыль с 2.19 не совместим.
AV>> Понял, щас перепилю.
AV> Перепилил, выложил там же - проверяй.
всё норм. только прочитай предыдущий камент про _Z_OF

и на всякий случай warnings:

clang -c -O3 -march=native -fomit-frame-pointer -fPIC -Ihptzip -I/usr/local/include -Wall -DUNIX -DUNAME=\"LNX\"  src/hptzip.c
src/hptzip.c:251:11: warning: unused variable 'ratio' [-Wunused-variable]
    uLong ratio=0;
          ^
src/hptzip.c:408:11: warning: unused variable 'fout' [-Wunused-variable]
    FILE* fout=NULL;
          ^
src/hptzip.c:441:9: warning: unused variable 'err' [-Wunused-variable]
    int err = UNZ_OK;
        ^
3 warnings generated.
clang -c -O3 -march=native -fomit-frame-pointer -fPIC -Ihptzip -I/usr/local/include -Wall -DUNIX -DUNAME=\"LNX\"  src/ioapi.c
src/ioapi.c:115:16: warning: implicit declaration of function 'fopen64' is invalid in C99 [-Wimplicit-function-declaration]
        file = fopen64((const char*)filename, mode_fopen);
               ^
src/ioapi.c:115:14: warning: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct _IO_FILE *') from 'int' [-Wint-conversion]
        file = fopen64((const char*)filename, mode_fopen);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ioapi.c:145:11: warning: implicit declaration of function 'ftello64' is invalid in C99 [-Wimplicit-function-declaration]
    ret = ftello64((FILE *)stream);
          ^
src/ioapi.c:191:8: warning: implicit declaration of function 'fseeko64' is invalid in C99 [-Wimplicit-function-declaration]
    if(fseeko64((FILE *)stream, offset, fseek_origin) != 0)
       ^
4 warnings generated.
clang -c -O3 -march=native -fomit-frame-pointer -fPIC -Ihptzip -I/usr/local/include -Wall -DUNIX -DUNAME=\"LNX\"  src/unzip.c
src/unzip.c:1699:46: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if ((pfile_in_zip_read_info->read_buffer == NULL))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/unzip.c:1699:46: note: remove extraneous parentheses around the comparison to silence this warning
    if ((pfile_in_zip_read_info->read_buffer == NULL))
        ~                                    ^      ~
src/unzip.c:1699:46: note: use '=' to turn this equality comparison into an assignment
    if ((pfile_in_zip_read_info->read_buffer == NULL))
                                             ^~
                                             =
1 warning generated.
clang -c -O3 -march=native -fomit-frame-pointer -fPIC -Ihptzip -I/usr/local/include -Wall -DUNIX -DUNAME=\"LNX\"  src/zip.c
src/zip.c:1117:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if ((level==2))
         ~~~~~^~~
src/zip.c:1117:15: note: remove extraneous parentheses around the comparison to silence this warning
    if ((level==2))
        ~     ^  ~
src/zip.c:1117:15: note: use '=' to turn this equality comparison into an assignment
    if ((level==2))
              ^~
              =
src/zip.c:1119:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if ((level==1))
         ~~~~~^~~
src/zip.c:1119:15: note: remove extraneous parentheses around the comparison to silence this warning
    if ((level==1))
        ~     ^  ~
src/zip.c:1119:15: note: use '=' to turn this equality comparison into an assignment
    if ((level==1))
              ^~
              =
src/zip.c:1248:28: warning: incompatible pointer types assigning to 'const unsigned long *' from 'const z_crc_t *' (aka 'const unsigned int *')
      [-Wincompatible-pointer-types]
        zi->ci.pcrc_32_tab = get_crc_table();
                           ^ ~~~~~~~~~~~~~~~
3 warnings generated.
clang -shared -Wl  hptzip.o ioapi.o unzip.o zip.o -L/usr/local/lib -o libhptzip.so
ar r libhptzip.a hptzip.o ioapi.o unzip.o zip.o


Alexander http://skovpen.org [icq: 155478]

... GoldED+/LNX 1.1.5 (Linux 3.16.5-gentoo CPU UNKNOWN)
--- ════════╦╦═╦╦═╗╔════
* Origin: ═╩══╬╩═╩╩═╬╬═ (2:5020/9696)

К главной странице гейта
Powered by NoSFeRaTU`s FGHIGate
Открытие страницы: 0.071329 секунды