HandBrake icon indicating copy to clipboard operation
HandBrake copied to clipboard

LLVM 21.1.0 / 20.1.8 compile fail

Open kentooo opened this issue 1 year ago • 1 comments

Problem Description

52d2894cc0a170f351e8de8796b52f5ef029bde5

gtk/src/notifications.c line 149-152 error in compile with llvm 21.1.0 / 20.1.8

Activity Log, Crash Log or any other details

../../gtk/src/notifications.c:152:9: error: cannot jump from switch statement to this case label
  152 |         default:
      |         ^
../../gtk/src/notifications.c:149:30: note: jump bypasses initialization of variable with __attribute__((cleanup))
  149 |             g_autofree char *size_str = ghb_format_pretty_size(value);
      |                              ^
1 warning and 1 error generated.

What Operating System are you running?

archlinux

What version of HandBrake are you running?

nightly 52d2894

Where did you download HandBrake from?

No response

kentooo avatar Aug 22 '25 18:08 kentooo

Done in https://github.com/HandBrake/HandBrake/commit/32c55d5678876d0056224546cc17400a43a3a177

galad87 avatar Aug 23 '25 05:08 galad87