Changeset 16d7535 for tests


Ignore:
Timestamp:
Feb 7, 2025, 3:07:22 PM (7 weeks ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
3ae2069
Parents:
eca364f7
Message:

Fix vector-demo warnings on x86 (was blocked from last full build by other errors)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tests/collections/vector-demo.cfa

    reca364f7 r16d7535  
    77
    88    push_last( v, 1 );
    9     printf( "Having pushed, length is %ld\n", v`length );
     9    printf( "Having pushed, length is %zu\n", v`length );
    1010
    1111    float y = v[0]`val;
     
    2121      #ifdef TRY_MOD_WHILE_LOCKED_1
    2222        push_last( v, 1 );   // runtime assertion failure
    23         printf( "Having pushed, length is %ld\n", v`length );
     23        printf( "Having pushed, length is %zu\n", v`length );
    2424      #endif
    2525    }
    2626
    2727    push_last( v, 2 );
    28     printf( "Having pushed, length is %ld\n", v`length );
     28    printf( "Having pushed, length is %zu\n", v`length );
    2929
    3030    // deletion scope for some exits
     
    8686        // allow modification while permits exist
    8787        push_last( v, 1 );
    88         printf( "Having pushed, length is %ld\n", v`length );
     88        printf( "Having pushed, length is %zu\n", v`length );
    8989
    9090        // forbid passing permit by value
     
    162162    }
    163163
    164     // todo: loop a permit
     164    // missing: loop a permit
    165165}
    166166
Note: See TracChangeset for help on using the changeset viewer.