[previous] 3437 [next] [u] The assert macro has been suppressed to call a function of that name.
Implicitly undefined REFERENCE - ISO:C90-7.2 Diagnostics <assert.h>

If the 'assert' macro is suppressed in order to call a function of that name, the result will be undefined.

For example:


/*PRQA S 841,2017,3408,3447 ++*/

#undef assert                           /* Message 3438 */

extern void assert(void);

extern void foo(void)
{
   assert();                            /* Message 3437 */
}

See also:

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents