On 06/04/2026 21:37, Bruno Haible wrote:
On many platforms, I see this compilation error:

   ../src/cut.c: In function ‘main’:
   ../src/cut.c:1322:11: error: a label can only be part of a statement and a 
declaration is not a statement
    1322 |           mcel_t g = delim_mcel = mcel_scanz (optarg);
         |           ^~~~~~

You can't assume ISO C23; many compilers accept only C99 or C11.

Oops, I added brackets around that declaration.

cheers,
Padraig

Reply via email to