[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] build: mark conditionally unused variables

  Eric Blake wrote:

> These fixes solve a compilation failure on FreeBSD:
> util/virnetdevtap.c: In function 'virNetDevTapGetName':
> util/virnetdevtap.c:56: warning: unused parameter 'tapfd' [-Wunused-parameter]
> util/virnetdevtap.c:56: warning: unused parameter 'ifname' [-Wunused-parameter]
> * src/util/virnetdevtap.c (virNetDevTapGetName): Add attributes
> when TUNGETIFF is not present.

Thanks for that fix as well.

Can you actually compile it successfully without '--disable-werror'?

It fails for me because of gcrypt.h:


When configured with '--without-gnutls', it fails again in


Going further and disabling remote results in another failure:


Roman Bogorodskiy

Attachment: pgph4Kr1SaeP6.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]