On 02/03/2018 18:35, Stefano Stabellini wrote:
On Fri, 2 Mar 2018, Andrew Cooper wrote:
On 02/03/18 18:26, Stefano Stabellini wrote:

Suggested-by: Julien Grall <julien.gr...@arm.com>
Signed-off-by: Stefano Stabellini <sstabell...@kernel.org>

Changes in v3:
- new patch

Interestingly I couldn't find a better way in C89 to printk a size_t
than casting it to unsigned long.
You can use %zu.
It's C99 only :-(

Sorry for the interjection, but what has C89 got to do with anything?
Xen uses -std=gnu99, as per the root Config.mk file.

I remember our discussions about C standard versions, but I take that
they only affected public headers then (unless I am misremembering).

That's right. Public headers should be C89 compliant. Xen is making good use of C99 :).


Julien Grall

Xen-devel mailing list

Reply via email to