[FIX] Build from 'master' branch is broken
SchweinDeBurg opened this issue · 3 comments
SchweinDeBurg commented
kontura commented
Can you provide a reproducer for when the build fails?
I am curios what am I missing because it is working for me.
SchweinDeBurg commented
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.
kontura commented
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.