Changeset 1f6623c for libcfa/src


Ignore:
Timestamp:
Jan 6, 2025, 4:18:42 PM (2 weeks ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
7d30a1e
Parents:
58eb9250
Message:

Try to fix full build by removing missed x86-debug-specific workaround for #269

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/collections/array.hfa

    r58eb9250 r1f6623c  
    88
    99#ifdef __CFA_DEBUG__
    10 // FIXME: `len` printing format %ld is a workaround for #269; once fixed, it should be %zd
    1110#define subcheck( arr, sub, len ) \
    1211        if ( (sub) < 0 || (sub) >= (len) ) \
    13                 abort( "Subscript %ld exceeds dimension range [0,%ld) for array %p.\n", \
     12                abort( "Subscript %ld exceeds dimension range [0,%zu) for array %p.\n", \
    1413                           (sub), (len), (arr) )
    1514#define subchecku( arr, sub, len ) \
    1615        if ( (sub) >= (len) ) \
    17                 abort( "Subscript %ld exceeds dimension range [0,%ld) for array %p.\n", \
     16                abort( "Subscript %ld exceeds dimension range [0,%zu) for array %p.\n", \
    1817                           (sub), (len), (arr) )
    1918#else
Note: See TracChangeset for help on using the changeset viewer.