diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-01-24 22:02:55 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-01-24 22:02:55 +0000 |
commit | 068f67a49901a2db77efd427aac6add5f626e23d (patch) | |
tree | ae77aaa7fac95ced0134d043bf5943e778685287 /tools | |
parent | 75849c12f17df1e7120b297aa29913a1ed7d8113 (diff) |
Warn if we find %ll in the source
svn path=/trunk/; revision=24182
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/checkAPIs.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index 9fab2dd9ff..cbbf2810a8 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -166,6 +166,13 @@ while ($_ = $ARGV[0]) $errorCount++; } + if ($fileContents =~ m{%ll}) + { + # use G_GINT64_MODIFIER instead of ll + print "Error: found %ll in " .$filename."\n"; + $errorCount++; + } + # Remove all the C-comments and strings $fileContents =~ s {$commentAndStringRegex} []g; |