On Tue, 25 Nov 2025 19:21:00 +0500 Andrey Erokhin <[email protected]> wrote:
> >> + native_symlink:; > > > > Still has the terminating but unneeded semicolon > > I think I've addressed this in the v1 thread, with links to the C11 draft > grammar. > Can repeat in plain English: a label shall be followed by a statement. (No, > declaration is not a statement) My bad, I didn't see your answer. It is funny that I had to pass -pedantic to gcc to get a complaint (in plain English as well) if I drop the semicolon : warning: a label can only be part of a statement and a declaration is not a statement [-Wpedantic] Cheers, -- Greg
