Re: [Qemu-devel] [PATCH] build: handle deprecation of major() in sys/types.h

2016-09-22 Thread no-reply
Hi, Your series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally. Type: series Message-id: 20160922205647.18237-1-rkrc...@redhat.com Subject: [Qemu-devel] [PATCH] build: handle deprecation

Re: [Qemu-devel] [PATCH] build: handle deprecation of major() in sys/types.h

2016-09-22 Thread Marc-André Lureau
Hi On Fri, Sep 23, 2016 at 12:58 AM Radim Krčmář wrote: > GCC 6.2.1 stops the build of qga/commands-posix.c with: > > It would not be only qga, but at least: hw/9pfs/9p.c:major(stbuf->st_rdev), minor(stbuf->st_rdev)); linux-user/strace.c:

Re: [Qemu-devel] [PATCH] build: handle deprecation of major() in sys/types.h

2016-09-22 Thread Eric Blake
On 09/22/2016 03:56 PM, Radim Krčmář wrote: > GCC 6.2.1 stops the build of qga/commands-posix.c with: > > In the GNU C Library, `major' is defined by . > For historical compatibility, it is currently defined by >as well, but we plan to remove this soon. > > To use `major', include

[Qemu-devel] [PATCH] build: handle deprecation of major() in sys/types.h

2016-09-22 Thread Radim Krčmář
GCC 6.2.1 stops the build of qga/commands-posix.c with: In the GNU C Library, `major' is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use `major', include directly. If you did not intend to use a system-defined