Re: [blfs-dev] libblockdev-2.25 doesn't compile

2021-04-10 Thread Xi Ruoyao via blfs-dev
On 2021-04-10 15:05 +0100, John Burrell via blfs-dev wrote: > Using the systemd version of the development book, libblockdev-2.25 gives: > > vdo.c: In function ‘bd_vdo_stats_copy’: > vdo.c:84:5: error: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead > [-Werror=deprecated-declarations] >    84 | 

[blfs-dev] libblockdev-2.25 doesn't compile

2021-04-10 Thread John Burrell via blfs-dev
Using the systemd version of the development book, libblockdev-2.25 gives: vdo.c: In function ‘bd_vdo_stats_copy’: vdo.c:84:5: error: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Werror=deprecated-declarations] 84 | return g_memdup (stats, sizeof (BDVDOStats)); | ^~ In