rpm-software-management/createrepo_c

[FIX] Build from 'master' branch is broken

SchweinDeBurg opened this issue · 3 comments

Can you provide a reproducer for when the build fails?

I am curios what am I missing because it is working for me.

I am using GCC version 9.3 and got three compile errors without this fix. Here is my RPM spec file: createrepo_c-0.21.1-fedora.spec.txt.

I see, its the:

error: a label can only be part of a statement and a declaration is not a statement

which seems to work in newer gcc.

Thank you for the patch.