Bug 34947 - Ошибка при компиляции error: #warning "<libio.h> is deprecated
Summary: Ошибка при компиляции error: #warning "<libio.h> is deprecated
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libzio (show other bugs)
Version: unstable
Hardware: all Linux
: P3 major
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-24 14:44 MSK by Alexei Takaseev
Modified: 2019-06-19 01:51 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexei Takaseev 2018-05-24 14:44:25 MSK
При сборке выдается ошибка:

gcc -pipe -frecord-gcc-switches -Wall -Werror -g -O2 -pipe -Wall -D_GNU_SOURCE -D_REENTRANT -D_DEFAULT_SOURCE  -DHAVE_LIBIO_H -DHAVE_FOPENCOOKIE  -DHAS_ZLIB_H -DHAS_BZLIB_H  -DHAS_LZMA_H -DNO_WEAK -fPIC -o obs/unlzw.o -c unlzw.c
In file included from zioP.h:39:0,
                 from lzw.h:48,
                 from unlzw.c:34:
/usr/include/libio.h:21:2: error: #warning "<libio.h> is deprecated; use <stdio.h> instead." [-Werror=cpp]
 #warning "<libio.h> is deprecated; use <stdio.h> instead."
  ^~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:84: obs/unlzw.o] Error 1
make: Leaving directory '/usr/src/RPM/BUILD/libzio-1.04'
error: Bad exit status from /tmp/rpm-tmp.48129 (%build)
Comment 1 Dmitry V. Levin 2019-06-19 01:51:19 MSK
* Sat Aug 04 2018 Dmitry V. Levin <ldv@altlinux> 1.06-alt1
- 1.04 -> 1.06.
- Fixed build without libio.h.
- Fixed lzma support broken upstream.