[cfe-dev] clang tool rejects compilation arguments from compilation database (incorrectly?)

Laszlo Nagy rizsotto.mailinglist at gmail.com
Fri Oct 24 12:54:06 PDT 2014


On Fri, Oct 24, 2014 at 9:38 PM, Péter Ésik <peter.esik at gmail.com> wrote:

> 2014-10-24 18:36 GMT+02:00 Manuel Klimek <klimek at google.com>:
> >
> > To get a compilation database from a project:
> > https://github.com/rizsotto/Bear
> > might help.
>
> I did try bear some time back, but it did not work. Or to be more
> accurate, it worked "some". For some files, the compilation failed with an
> error i can't recall right now, and for the cpp files that did compile
> correctly, the result compile_command.json was corrupt (by the looks of it,
> it was a race condition, overlapping lines, weird NULL characters at the
> end of the file).
>

Peter, if you could reproduce the bear problem and could file a bug report
on github then i would try to fix it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141024/9318882e/attachment.html>


More information about the cfe-dev mailing list