Fix scan-build tool

Kevin Zheng kevinz5000 at gmail.com
Sat Sep 14 11:47:48 PDT 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-scan-build.diff
Type: text/x-patch
Size: 479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130914/82714c5e/attachment.bin>


More information about the cfe-commits mailing list