[previous] 0775 [next] [C] 'register' may not be specified on global declaration of '%s'.
Constraint violations REFERENCE - ISO:C90-6.7 External Definitions - Constraints

This is a constraint error

The 'register' storage-class specifier cannot be applied to objects which are declared with linkage. It can only be used with objects declared at block scope and cannot be applied in combination with any other storage class specifier.

For example:


/*PRQA S 2017,2711,3211,3408 ++*/

register int number;          /* Message 0775 */

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