www.delorie.com/djgpp/doc/kb/kb_17.html   search  
DJGPP Knowledge Base

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.3.5 Assertions

Assertions should not generally be used in library code. To catch an error, the code should check for the error and return an error code. Using assert (@xref{assert, , assert, libc}) causes the debug and final release (`NDEBUG' defined) versions of the code to differ, so that the final release is not as well tested.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2004   by DJ Delorie     Updated Nov 2004  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)