Messages in this thread | | | From | "Luck, Tony" <> | Subject | RE: [PATCH v2] x86/resctrl: Fix unused variable warning in cache_alloc_hsw_probe() | Date | Thu, 2 Nov 2023 22:02:50 +0000 |
| |
> This is strange, I am not able to encounter this warning. Is my gcc perhaps > too old? I know there were some specific versions needed to reproduce similar > warnings with clang (see reference commit 793207bad71c ("x86/resctrl: Fix a silly > -Wunused-but-set-variable warning")).
I'm using the default install from Fedora 38:
$ gcc --version gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1) Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-Tony
| |