Re: [Qemu-devel] [PATCH v2] ccid-card: include libcacard.h only

2018-04-27 Thread Gerd Hoffmann
On Tue, Apr 03, 2018 at 12:34:37PM +0200, Michal Privoznik wrote: > When trying to build with latest libcacard-2.5.1, I hit the > following error: > > In file included from hw/usb/ccid-card-passthru.c:12:0: > /usr/include/cacard/vscard_common.h:26:2: error: #warning "Only > can be included direc

Re: [Qemu-devel] [PATCH v2] ccid-card: include libcacard.h only

2018-04-03 Thread Marc-André Lureau
Hi On Tue, Apr 3, 2018 at 1:48 PM, Michal Privoznik wrote: > On 04/03/2018 01:38 PM, Marc-André Lureau wrote: >> Hi >> >> On Tue, Apr 3, 2018 at 12:34 PM, Michal Privoznik >> wrote: >>> When trying to build with latest libcacard-2.5.1, I hit the >>> following error: >>> >>> In file included fro

Re: [Qemu-devel] [PATCH v2] ccid-card: include libcacard.h only

2018-04-03 Thread Michal Privoznik
On 04/03/2018 01:38 PM, Marc-André Lureau wrote: > Hi > > On Tue, Apr 3, 2018 at 12:34 PM, Michal Privoznik wrote: >> When trying to build with latest libcacard-2.5.1, I hit the >> following error: >> >> In file included from hw/usb/ccid-card-passthru.c:12:0: >> /usr/include/cacard/vscard_common.

Re: [Qemu-devel] [PATCH v2] ccid-card: include libcacard.h only

2018-04-03 Thread Marc-André Lureau
Hi On Tue, Apr 3, 2018 at 12:34 PM, Michal Privoznik wrote: > When trying to build with latest libcacard-2.5.1, I hit the > following error: > > In file included from hw/usb/ccid-card-passthru.c:12:0: > /usr/include/cacard/vscard_common.h:26:2: error: #warning "Only > can be included directly"

[Qemu-devel] [PATCH v2] ccid-card: include libcacard.h only

2018-04-03 Thread Michal Privoznik
When trying to build with latest libcacard-2.5.1, I hit the following error: In file included from hw/usb/ccid-card-passthru.c:12:0: /usr/include/cacard/vscard_common.h:26:2: error: #warning "Only can be included directly" [-Werror=cpp] #warning "Only can be included directly" While it was fi