Warn if we find %ll in the source
svn path=/trunk/; revision=24182
This commit is contained in:
parent
75849c12f1
commit
068f67a499
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue