On Tue, Nov 19, 2013 at 09:57:43PM +0000, Alessandro Pilotti wrote:
> Talking about %zu, we solved it with a brutal macro. Do you have any
> suggestion for a better approach?
I have thought of two viable approaches:
1. Use a macro plus add a makefile rule to scan the tree for use of
'z' and complain about it.
2. Write a *printf() implementation and arrange to use it in place
of the system *printf().
#1 is a little easier, I guess.
By the way, there are a few other, more rarely used, *printf()
features that I imagine Windows also doesn't support, such as the 't'
modifier (for ptrdiff_t).
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev