Hi there,
In the latest SVN checkout the `scan-build` utility in the
"tools/scan-build" directory of the Clang sources runs with the
following error:
syntax error at ./scan-build line 143, near ")
my "
Global symbol "$DateString" requires explicit package name at
./scan-build line 143.
Global symbol "$TimeString" requires explicit package name at
./scan-build line 144.
Global symbol "$DateString" requires explicit package name at
./scan-build line 202.
Global symbol "$DateString" requires explicit package name at
./scan-build line 205.
Execution of ./scan-build aborted due to compilation errors.
This issue can be fixed by adding a missing semicolon. A patch with this
fix is attached.
I am not subscribed to this mailing list, please respond to me directly
if this patch is accepted (or not).
Thanks,
Kevin Zheng
Index: scan-build
===================================================================
--- scan-build (revision 190756)
+++ scan-build (working copy)
@@ -139,7 +139,7 @@
my $min = $CurrentTime[1];
my $sec = $CurrentTime[0];
- my $TimeString = sprintf("%02d%02d%02d", $hour, $min, $sec)
+ my $TimeString = sprintf("%02d%02d%02d", $hour, $min, $sec);
my $DateString = sprintf("%d-%02d-%02d-%s-$$",
$year, $month, $day, $TimeString);
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits