Changeset 1eea589f for libcfa/src/stdhdr


Ignore:
Timestamp:
Jul 27, 2025, 2:48:31 PM (2 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
b9d1242
Parents:
da10157 (diff), 7806f91 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/stdhdr/assert.h

    rda10157 r1eea589f  
    3838        #define warnf( expr, fmt, ... ) ({ static bool check_once##__LINE__ = false; if( false == check_once##__LINE__ && false == (expr)) { check_once##__LINE__ = true; __assert_warn_f(__VSTRINGIFY__(expr), __FILE__, __LINE__, __PRETTY_FUNCTION__, fmt, ## __VA_ARGS__ ); } })
    3939#else
    40         #define verify(x)
    41         #define verifyf(x, ...)
    42         #define verifyfail(...)
    43         #define warnf( expr, fmt, ... )
     40        #define verify(x) 0
     41        #define verifyf(x, ...) 0
     42        #define verifyfail(...) 0
     43        #define warnf( expr, fmt, ... ) 0
    4444#endif
    4545
Note: See TracChangeset for help on using the changeset viewer.