Changeset 5f225f5 for src/Common/Assert.cpp
- Timestamp:
- May 11, 2024, 6:13:16 PM (2 months ago)
- Branches:
- master
- Children:
- bf4fe05
- Parents:
- c778ef1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/Assert.cpp
rc778ef1 r5f225f5 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Assert.c c--7 // Assert.cpp -- 8 8 // 9 9 // Author : Peter A. Buhr … … 22 22 #define CFA_ASSERT_FMT "*CFA assertion error* \"%s\" from program \"%s\" in \"%s\" at line %d in file \"%s\"" 23 23 24 // called by macro assert in assert.h24 // called by macro assert in cassert 25 25 void __assert_fail( const char *assertion, const char *file, unsigned int line, const char *function ) { 26 26 fprintf( stderr, CFA_ASSERT_FMT ".\n", assertion, __progname, function, line, file );
Note: See TracChangeset
for help on using the changeset viewer.