diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-04-29 09:47:46 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-04-29 09:47:46 +0100 |
commit | 564476d8291955dd4823076699ed242d9beb2ba1 (patch) | |
tree | 5a80b5b32e3901d003e3b1b0e036dfecea2a8b0f | |
parent | 4d67bd6f51003ea5c7e7ae75f53ce95acc4c4175 (diff) |
win32.mak: rename check-nonportable-int64-print-format rule and check for %zu
Rename check-nonportable-int64-print-format rule to check-nonportable-print-format
and also check for %zu, %zd, etc.
-rw-r--r-- | win32.mak | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -56,13 +56,13 @@ check-exports: fi; \ exit $$fail -# complain about nonportable 64-bit printf format strings (%lld, %llu etc.) -check-nonportable-int64-print-format: +# complain about nonportable printf format strings (%lld, %llu, %zu etc.) +check-nonportable-print-format: @fail=0 ; \ - loc=`find "$(top_srcdir)" -name '*.c' | xargs grep -n -e '%[0-9]*ll[udx]'`; \ + loc=`find "$(top_srcdir)" -name '*.c' | xargs grep -n -e '%[0-9]*ll[udx]' -e '%[0-9]*z[udx]'`; \ if test "x$$loc" != "x"; then \ echo "Please fix the following print format strings:" ; \ - find "$(top_srcdir)" -name '*.c' | xargs grep -n -e '%[0-9]*ll[udx]'; \ + find "$(top_srcdir)" -name '*.c' | xargs grep -n -e '%[0-9]*ll[udx]' -e '%[0-9]*z[udx]'; \ fail=1; \ fi; \ exit $$fail |