Warn if we find %ll in the source

svn path=/trunk/; revision=24182
This commit is contained in:
Jeff Morriss 2008-01-24 22:02:55 +00:00
parent 75849c12f1
commit 068f67a499
1 changed files with 7 additions and 0 deletions

View File

@ -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;