assert customization

Ian Lance Taylor iant@google.com
Fri Oct 10 15:33:00 GMT 2008


jchristof <jchristofmartin@gmail.com> writes:

> What's the proper way to provide assert customization? It appears that I
> might need to provide a definition for 
>
> void _EXFUN(__assert,(const char *, int, const char *));
>
> When I do provide a definition, it isn't called. NDEBUG is not defined, so I
> must be including incorrectly.

This is a library question, not a gcc question.  gcc does not provide
<assert.h> (it used to, but it no longer does).  The answer depends on
the library you are using.

Ian



More information about the Gcc-help mailing list