![]() |
![]() |
0827 | ![]() |
||||
![]() | |||||||
| Syntax errors | |||||||
The expression in this #if or #elif directive is badly formed. A '?' has been encountered without a following ':'. For example:
/*PRQA S 0553 ++*/
#define A 1
#define B 2
#if (A ? 0 : B) /* OK */
extern int e1;
#endif
#if ( A ? B ) /* Message 0827 and also 0897 */
extern int e1;
#endif
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |