Re: [Xen-devel] [PATCH v5 2/4] xen: introduce a C99 headers check

2017-03-29 Thread Stefano Stabellini
On Wed, 29 Mar 2017, Jan Beulich wrote: > >>> On 29.03.17 at 00:08, wrote: > > Introduce a C99 headers check, for non-ANSI compliant headers: 9pfs.h > > and pvcalls.h. > > > > In addition to the usual -include stdint.h, also add -include string.h > > to the C99 check to get the declaration of mem

Re: [Xen-devel] [PATCH v5 2/4] xen: introduce a C99 headers check

2017-03-29 Thread Jan Beulich
>>> On 29.03.17 at 00:08, wrote: > Introduce a C99 headers check, for non-ANSI compliant headers: 9pfs.h > and pvcalls.h. > > In addition to the usual -include stdint.h, also add -include string.h > to the C99 check to get the declaration of memcpy and size_t. No, as explained before. You should

[Xen-devel] [PATCH v5 2/4] xen: introduce a C99 headers check

2017-03-28 Thread Stefano Stabellini
Introduce a C99 headers check, for non-ANSI compliant headers: 9pfs.h and pvcalls.h. In addition to the usual -include stdint.h, also add -include string.h to the C99 check to get the declaration of memcpy and size_t. For the same reason, also add -include cstring to the C++ check when necessary.