On Tue, Nov 19, 2013 at 02:16:43PM -0800, Ethan Jackson wrote: Ben's the authority on this, but FWIW a macro sounds fine to me. We've already got PRI_U32 etc, adding a PRI_ZU seems reasonable.
I don't object to that, I just want to make sure that there's some Makefile rule to blacklist %zu so that new uses don't get introduced. The Makefile rule would probably do the job in this case, but for a more generic use case we probably need some sort of a pre-checkin build sanitizer. For e.g. how will we prevent unix system calls from being introduced (assuming no WIN32 handling)?
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev