[previous] 1434 [next] This enum constant is not representable in a 16 bit integer type.
Enumerations REFERENCE - ISO:C90-6.5.2.2 Enumeration Specifiers

The value of this enumeration constant is too large to be portable to a 16 bit environment.

An enumeration constant is always of type int and must always be representable as an int. So be aware that this enumeration will not be portable to a 16 bit environment.

For example:


/*PRQA S 553,2017,2211,2213,3602 ++*/

enum { A = 100    };               /*              */
enum { B = 10000  };               /*              */
enum { C = 32767  };               /*              */
enum { D = 32768  };               /* Message 1434 */
enum { E = -32767 };               /*              */
enum { F = -32768 };               /*              */
enum { G = -32769 };               /* Message 1434 */

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