Annotation of gcc/assert.h, revision 1.1.1.3

1.1.1.3 ! root        1: /* Allow this file to be included multiple times
        !             2:    with different settings of NDEBUG.  */
1.1.1.2   root        3: #undef assert
1.1.1.3 ! root        4: #undef __assert
1.1.1.2   root        5: 
1.1       root        6: #ifdef NDEBUG
                      7: #define assert(ignore)
                      8: #else
                      9: 
                     10: #define assert(expression)  \
1.1.1.3 ! root       11:   ((expression) ? 0 : __assert (#expression, __FILE__, __LINE__))
        !            12: 
        !            13: void _eprintf ();              /* Defined in gnulib */
        !            14: 
        !            15: #ifdef __STDC__
1.1       root       16: 
                     17: #define __assert(expression, file, line)  \
1.1.1.3 ! root       18:   (__eprintf ("Failed assertion " expression           \
        !            19:              " at line %d of `" file "'.\n", line),    \
        !            20:    abort ())
1.1       root       21: 
1.1.1.3 ! root       22: #else /* no __STDC__; i.e. -traditional.  */
        !            23: 
        !            24: #define __assert(expression, file, line)  \
        !            25:   (__eprintf ("Failed assertion at line %d of `%s'.\n", line, file),   \
        !            26:    abort ())
        !            27: 
        !            28: #endif /* no __STDC__; i.e. -traditional.  */
1.1       root       29: 
                     30: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.