LINUX.ORG.RU

История изменений

Исправление ZenitharChampion, (текущая версия) :

Теперь такая ошибка:

cc -o Linux4.4_x86_64_cc_glibc_PTH_64_OPT.OBJ/h_page.o -c -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -fPIC  -m64 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DSTDC_HEADERS -DHAVE_STRERROR -DHAVE_SNPRINTF -DMEMMOVE -D__DBINTERFACE_PRIVATE -I/usr/include/nspr4 -I../../../../dist/Linux4.4_x86_64_cc_glibc_PTH_64_OPT.OBJ/include -I../../../../dist/public/dbm -I../../../../dist/private/dbm  h_page.c
h_page.c: In function 'overflow_page':
h_page.c:969:13: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Werror=unused-result]
             (void)fwrite(OVMSG, 1, sizeof(OVMSG) - 1, stderr);
             ^
h_page.c:984:13: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Werror=unused-result]
             (void)fwrite(OVMSG, 1, sizeof(OVMSG) - 1, stderr);
             ^
h_page.c:1010:17: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Werror=unused-result]
                 (void)fwrite(OVMSG, 1, sizeof(OVMSG) - 1, stderr);
                 ^
cc1: all warnings being treated as errors
make[3]: *** [Linux4.4_x86_64_cc_glibc_PTH_64_OPT.OBJ/h_page.o] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/nss-3.33/nss/lib/dbm/src'

Исправление ZenitharChampion, :

Теперь такая ошибка:

cc -o Linux4.4_x86_64_cc_glibc_PTH_64_OPT.OBJ/h_page.o -c -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -fPIC  -m64 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DSTDC_HEADERS -DHAVE_STRERROR -DHAVE_SNPRINTF -DMEMMOVE -D__DBINTERFACE_PRIVATE -I/usr/include/nspr4 -I../../../../dist/Linux4.4_x86_64_cc_glibc_PTH_64_OPT.OBJ/include -I../../../../dist/public/dbm -I../../../../dist/private/dbm  h_page.c
h_page.c: In function 'overflow_page':
h_page.c:969:13: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Werror=unused-result]
             (void)fwrite(OVMSG, 1, sizeof(OVMSG) - 1, stderr);
             ^
h_page.c:984:13: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Werror=unused-result]
             (void)fwrite(OVMSG, 1, sizeof(OVMSG) - 1, stderr);
             ^
h_page.c:1010:17: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Werror=unused-result]
                 (void)fwrite(OVMSG, 1, sizeof(OVMSG) - 1, stderr);
                 ^
cc1: all warnings being treated as errors
make[3]: *** [Linux4.4_x86_64_cc_glibc_PTH_64_OPT.OBJ/h_page.o] Error 1

Исходная версия ZenitharChampion, :

Теперь такая ошибка:

cc -o Linux4.4_x86_64_cc_glibc_PTH_64_OPT.OBJ/h_page.o -c -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fno-strict-aliasing -fPIC  -m64 -pipe -ffunction-sections -fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux -Wall -Werror -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DSTDC_HEADERS -DHAVE_STRERROR -DHAVE_SNPRINTF -DMEMMOVE -D__DBINTERFACE_PRIVATE -I/usr/include/nspr4 -I../../../../dist/Linux4.4_x86_64_cc_glibc_PTH_64_OPT.OBJ/include -I../../../../dist/public/dbm -I../../../../dist/private/dbm  h_page.c
h_page.c: In function 'overflow_page':
h_page.c:969:13: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Werror=unused-result]
             (void)fwrite(OVMSG, 1, sizeof(OVMSG) - 1, stderr);
             ^
h_page.c:984:13: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Werror=unused-result]
             (void)fwrite(OVMSG, 1, sizeof(OVMSG) - 1, stderr);
             ^
h_page.c:1010:17: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Werror=unused-result]
                 (void)fwrite(OVMSG, 1, sizeof(OVMSG) - 1, stderr);
                 ^
cc1: all warnings being treated as errors
make[3]: *** [Linux4.4_x86_64_cc_glibc_PTH_64_OPT.OBJ/h_page.o] Error 1