[cfe-dev] Tooling: disable standard compile-run

Marcel F. Krüger zauguin at gmail.com
Fri Feb 28 08:45:03 PST 2014


Hi,

2014-02-26 13:48 GMT+01:00 Robert Zimmermann <tsett at gmx.net>:
> The tool is called like for a single file like that:
> check-tool <tool-flags> <file> -- <compiler-flags>

Have you tried
check-tool <tool-flags <file> -- clang++ <compiler-flags>
On my system this adds the default compiler options for C++.

Best,
Marcel

> Thus, I should already have a Database.
>
> When the tool is called for a C++-File it gives an error like: missing <map>
> When I add all the directories where these files should be located (e.g.
> -I$(MINGWPATH)\lib\gcc\mingw32\4.8.1\include\c++) to the compiler-flags and
> I got strange compiler errors.
>
> Best,
> Robert



More information about the cfe-dev mailing list