[cfe-dev] [LLVMdev] Reminder: 3.6 branch is coming
mats petersson
mats at planetcatfish.com
Sun Jan 11 13:44:52 PST 2015
Ok, so basically, I need to either turn off the warnings altogether,
or detect if I'm using ccache or not, and then turn off warnings for
unused args based on that? Given that I use
llvm-config --cxxflags
which gives me the -I /usr/local/llvm-debug/include/ that it complains
about, I don't really have the choice as to whether I use that include
or not.
Or is using ccache with clang not a recommended "thing"?
[As my own compiler project uses -Werror, it stops my project from
building, so the problem definitely needs a fix of some sort - using
-Qunused-arguments for now, but doesn't really feel like the RIGHT
thing permanently]
--
Mats
On 11 January 2015 at 21:19, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:
> On Sun, Jan 11, 2015 at 09:04:04PM +0000, mats petersson wrote:
>> So, digging a bit deeper, this appears to be related to ccache -
>> although I'm not quite sure what/how at this point. If I run
>> /usr/local/bin/clang++ or /usr/local/llvm-debug/bin/clang++, it
>> doesn't complain about surplus includes.
>
> The warning tells you that -I is not used when handling preprocessed
> include, which is correct. You can disable it with -Qunused-arguments.
>
> Joerg
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list