diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2024-08-22 14:13:49 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-08-22 17:26:50 -0300 |
| commit | 00dc514612fe98cfa117193b9df28f15e7c9db9c (patch) | |
| tree | 65122dbbb7fe5d4c4d0ded345215cef8a08fd5b3 /tools/perf/scripts/python/bin | |
| parent | b81162302001f41157f6e93654aaccc30e817e2a (diff) | |
perf python: Disable -Wno-cast-function-type-mismatch if present on clang
The -Wcast-function-type-mismatch option was introduced in clang 19 and
its enabled by default, since we use -Werror, and python bindings do
casts that are valid but trips this warning, disable it if present.
Closes: https://lore.kernel.org/all/CA+icZUXoJ6BS3GMhJHV3aZWyb5Cz2haFneX0C5pUMUUhG-UVKQ@mail.gmail.com
Reported-by: Sedat Dilek <[email protected]>
Tested-by: Sedat Dilek <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected] # To allow building with the upcoming clang 19
Link: https://lore.kernel.org/lkml/CA+icZUVtHn8X1Tb_Y__c-WswsO0K8U9uy3r2MzKXwTA5THtL7w@mail.gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions