Re: assert customization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



jchristof <jchristofmartin@xxxxxxxxx> 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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux