so, libpciaccess uses pwrite64 and pread64,
both of which gcc complains about being deprecated.
initially users should be able to just ignore these as just warnings, unless the selective werror configure check wont flag any of them as errors for you.
which seems to be the case for me.
I tried to add --disable-selective-werror as configure flags to bypass this, but it errors out on missing references instead.
adding the seds to instead use pread and pwrite as opposed to pread64 and pwrite64 fixes the issue.
so,
libpciaccess
usespwrite64
andpread64
, both of whichgcc
complains about being deprecated. initially users should be able to just ignore these as just warnings, unless the selective werror configure check wont flag any of them as errors for you. which seems to be the case for me.I tried to add
--disable-selective-werror
as configure flags to bypass this, but it errors out on missing references instead.adding the seds to instead use
pread
andpwrite
as opposed topread64
andpwrite64
fixes the issue.