Changeset 0c0f548


Ignore:
Timestamp:
May 7, 2019, 11:46:21 AM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
02fdb8e
Parents:
c6a90bf
Message:

fixed static_assertion which requires a message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    rc6a90bf r0c0f548  
    446446}; // description
    447447
    448 static_assert( sizeof( long_opts ) / sizeof( long_opts[0] ) - 1 == sizeof( description ) / sizeof( description[0] ) );
     448static_assert( sizeof( long_opts ) / sizeof( long_opts[0] ) - 1 == sizeof( description ) / sizeof( description[0] ), "Long opts and description must match" );
    449449
    450450static struct Printopts {
Note: See TracChangeset for help on using the changeset viewer.