Re: [ccache] BUG: ccache + icecream + clang -Weverything results in false "warning: macro is not used [-Wunused-macros]"

2020-01-22 Thread Éric Chamberland via ccache
It looks like it is a clang bug! See icecream answer here: https://github.com/icecc/icecream/issues/514 Eric Le 20-01-22 à 09:20, Eric Chamberland via ccache a écrit : Hi, We have a simple but annoying bug with ccache (3.7.1) + icecream + clang 7.0. This file: = #define

[ccache] BUG: ccache + icecream + clang -Weverything results in false "warning: macro is not used [-Wunused-macros]"

2020-01-22 Thread Eric Chamberland via ccache
Hi, We have a simple but annoying bug with ccache (3.7.1) + icecream + clang 7.0. This file: = #define UsedMacro double double foo(); double foo() {   UsedMacro var = 0;   return var; } = Compiles without warnings if compiled with bare clang 7.0 like