Ignore:
Timestamp:
Jan 15, 2021, 2:30:03 PM (11 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
1dbc3e10, d46bdac
Parents:
8c43d05
Message:

Removed some warnings and allowed io calls to compile without io_uring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/parseargs.cfa

    r8c43d05 rb7664a0  
    3939                        if( options[i].short_name != '\0'
    4040                        && options[i].short_name == options[j].short_name)
    41                                 abort("Parse Args error: two options have short name '%c' (%d & %d)", options[i].short_name, i, j);
    42 
    43                         if(0 == strcmp(options[i].long_name, options[j].long_name)) abort("Parse Args error: two options have long name '%s' (%d & %d)", options[i].long_name, i, j);
     41                                abort("Parse Args error: two options have short name '%c' (%zu & %zu)", options[i].short_name, i, j);
     42
     43                        if(0 == strcmp(options[i].long_name, options[j].long_name)) abort("Parse Args error: two options have long name '%s' (%zu & %zu)", options[i].long_name, i, j);
    4444                }
    4545        }
Note: See TracChangeset for help on using the changeset viewer.