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

2017-04-04 Thread Stefano Stabellini
On Mon, 3 Apr 2017, Jan Beulich wrote: > >>> On 31.03.17 at 21:15, 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 memc

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

2017-04-04 Thread Jan Beulich
>>> On 03.04.17 at 20:25, wrote: > On Mon, 3 Apr 2017, Jan Beulich wrote: >> >>> On 31.03.17 at 21:15, wrote: >> > @@ -104,16 +105,21 @@ headers.chk: $(PUBLIC_ANSI_HEADERS) Makefile >> >done >$@.new >> >mv $@.new $@ >> > >> > +headers99.chk: $(PUBLIC_C99_HEADERS) Makefile >> > + rm -f

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

2017-04-03 Thread Stefano Stabellini
On Mon, 3 Apr 2017, Jan Beulich wrote: > >>> On 31.03.17 at 21:15, 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 memc

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

2017-04-03 Thread Jan Beulich
>>> On 31.03.17 at 21:15, 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. > > For the same reason, also add -