|

 
|
| | Name : | Scott Hunsaker | Organization : | Hart Intercivic | Post Date : | 9/30/2005 |
| Section : | .20.5 | Page no. : | 5-11 | Line no.: | | Comment : | 133 II 5 p 5-11 5.4.2.w
Has all assert() statements
coded such that they are
absent from a production
compilation.
This requirement should be
identified as a guideline or it
should be stricken.
If a module requires an assert()
statement to guarantee
processing integrity, then
removal of that assert()
statement from a production
compilation subjects the
program flow to arbitrary and
undefined behavior upon the
rare conditions that cause the
assert condition. [Maguire ch.
2] | |
|
|